Computing Minimum Rainbow and Strong Rainbow Colorings of Block Graphs
arXiv:1405.6893 · doi:10.23638/DMTCS-20-1-22
Abstract
A path in an edge-colored graph is rainbow if no two edges of it are colored the same. The graph is rainbow-connected if there is a rainbow path between every pair of vertices. If there is a rainbow shortest path between every pair of vertices, the graph is strongly rainbow-connected. The minimum number of colors needed to make rainbow-connected is known as the rainbow connection number of , and is denoted by . Similarly, the minimum number of colors needed to make strongly rainbow-connected is known as the strong rainbow connection number of , and is denoted by . We prove that for every , deciding whether is NP-complete for split graphs, which form a subclass of chordal graphs. Furthermore, there exists no polynomial-time algorithm for approximating the strong rainbow connection number of an -vertex split graph with a factor of for any unless P = NP. We then turn our attention to block graphs, which also form a subclass of chordal graphs. We determine the strong rainbow connection number of block graphs, and show it can be computed in linear time. Finally, we provide a polynomial-time characterization of bridgeless block graphs with rainbow connection number at most 4.
13 pages, 3 figures