Back to Search
Start Over
Colourful components in k-caterpillars and planar graphs
- Source :
- Theoretical Computer Science. 895:137-150
- Publication Year :
- 2021
- Publisher :
- Elsevier BV, 2021.
-
Abstract
- A connected component of a vertex-coloured graph is said to be colourful if all its vertices have different colours. By extension, a graph is colourful if all its connected components are colourful. Given a vertex-coloured graph $G$ and an integer $p$, the Colourful Components problem asks whether there exist at most $p$ edges whose removal makes $G$ colourful and the Colourful Partition problem asks whether there exists a partition of $G$ into at most $p$ colourful components. In order to refine our understanding of the complexity of the problems on trees, we study both problems on $k$-caterpillars, which are trees with a central path $P$ such that every vertex not in $P$ is within distance $k$ from a vertex in $P$. We prove that Colourful Components and Colourful Partition are NP-complete on $4$-caterpillars with maximum degree $3$, $3$-caterpillars with maximum degree $4$ and $2$-caterpillars with maximum degree $5$. On the other hand, we show that the problems are linear-time solvable on $1$-caterpillars. Hence, our results imply two complexity dichotomies on trees: Colourful Components and Colourful Partition are linear-time solvable on trees with maximum degree $d$ if $d \leq 2$ (that is, on paths), and NP-complete otherwise; Colourful Components and Colourful Partition are linear-time solvable on $k$-caterpillars if $k \leq 1$, and NP-complete otherwise. We leave three open cases which, if solved, would provide a complexity dichotomy for both problems on $k$-caterpillars, for every non-negative integer $k$, with respect to the maximum degree. We also show that Colourful Components is NP-complete on $5$-coloured planar graphs with maximum degree $4$ and on $12$-coloured planar graphs with maximum degree $3$. Our results answer two open questions of Bulteau et al. mentioned in [30th Annual Symposium on Combinatorial Pattern Matching, 2019].
- Subjects :
- Connected component
General Computer Science
Partition problem
Theoretical Computer Science
Vertex (geometry)
Planar graph
Combinatorics
symbols.namesake
Integer
Path (graph theory)
symbols
Graph (abstract data type)
Partition (number theory)
Computer Science - Discrete Mathematics
Mathematics
Subjects
Details
- ISSN :
- 03043975
- Volume :
- 895
- Database :
- OpenAIRE
- Journal :
- Theoretical Computer Science
- Accession number :
- edsair.doi.dedup.....c24d9fcd5c57d2a61aa4a70b40d75086
- Full Text :
- https://doi.org/10.1016/j.tcs.2021.09.040