Algorithms for the rainbow vertex coloring problem on graph classes
Paloma T. Lima,Erik Jan van Leeuwen,Marieke van der Wegen
DOI: https://doi.org/10.1016/j.tcs.2021.07.009
IF: 1.002
2021-10-01
Theoretical Computer Science
Abstract:<p>Given a vertex-colored graph, we say a path is a rainbow vertex path if all its internal vertices have distinct colors. The graph is rainbow vertex-connected if there is a rainbow vertex path between every pair of its vertices. In the <span class="small-caps">Rainbow Vertex Coloring (RVC)</span> problem we want to decide whether the vertices of a given graph can be colored with at most <em>k</em> colors so that the graph becomes rainbow vertex-connected. This problem is known to be <span class="sans-serif">NP</span>-complete even in very restricted scenarios, and very few efficient algorithms are known for it. In this work, we give polynomial-time algorithms for RVC on permutation graphs, powers of trees and split strongly chordal graphs. The algorithm for the latter class also works for the strong variant of the problem, where the rainbow vertex paths between each vertex pair must be shortest paths. We complement the polynomial-time solvability results for split strongly chordal graphs by showing that, for any fixed <span class="math"><math>p≥3</math></span> both variants of the problem become <span class="sans-serif">NP</span>-complete when restricted to split <span class="math"><math>(S3,…,Sp)</math></span>-free graphs, where <span class="math"><math>Sq</math></span> denotes the <em>q</em>-sun graph.</p>
computer science, theory & methods