An Optimal XP Algorithm for Hamiltonian Cycle on Graphs of Bounded Clique-Width
Résumé
In this paper, we prove that, given a clique-width k-expression of an n-vertex graph, HAMILTONIAN CYCLE can be solved in time nO(k). This improves the naive algorithm that runs in time nO(k2) by Espelage et al. (Graph-theoretic concepts in computer science, vol 2204. Springer, Berlin, 2001), and it also matches with the lower bound result by Fomin et al. that, unless the Exponential Time Hypothesis fails, there is no algorithm running in time no(k) (SIAM J Comput 43:1541–1563, 2014). We present a technique of representative sets using two-edge colored multigraphs on k vertices. The essential idea is that, for a two-edge colored multigraph, the existence of an Eulerian trail that uses edges with different colors alternately can be determined by two information: the number of colored edges incident with each vertex, and the connectedness of the multigraph. With this idea, we avoid the bottleneck of the naive algorithm, which stores all the possible multigraphs on k vertices with at most n edges.
Origine | Fichiers produits par l'(les) auteur(s) |
---|