### Abstract

For a graph G=(V,E) and a color set C, let f:E→C be an edge-coloring of G in which two adjacent edges may have the same color. Then, the graph G edge-colored by f is rainbow connected if every two vertices of G have a path in which all edges are assigned distinct colors. Chakraborty et al. defined the problem of determining whether the graph colored by a given edge-coloring is rainbow connected. Chen et al. introduced the vertex-coloring version of the problem as a variant, and we introduce the total-coloring version in this paper. We settle the precise computational complexities of all the three problems with regards to graph diameters, and also characterize these with regards to certain graph classes: cacti, outer planer and series-parallel graphs. We then give FPT algorithms for the three problems on general graphs when parameterized by the number of colors in C; our FPT algorithms imply that all the three problems can be solved in polynomial time for any graph with n vertices if |C|=O(logn).

Original language | English |
---|---|

Pages (from-to) | 161-179 |

Number of pages | 19 |

Journal | Algorithmica |

Volume | 67 |

Issue number | 2 |

DOIs | |

Publication status | Published - 2013 Oct 1 |

### Keywords

- Cactus
- Fixed parameter tractability
- Outerplanar graph
- Rainbow coloring
- Series-parallel graph

### ASJC Scopus subject areas

- Computer Science(all)
- Computer Science Applications
- Applied Mathematics

## Fingerprint Dive into the research topics of 'On the rainbow connectivity of graphs: Complexity and FPT algorithms'. Together they form a unique fingerprint.

## Cite this

*Algorithmica*,

*67*(2), 161-179. https://doi.org/10.1007/s00453-012-9689-4