English

An optimal XP algorithm for Hamiltonian cycle on graphs of bounded clique-width

Data Structures and Algorithms 2019-06-11 v3 Combinatorics

Abstract

In this paper, we prove that, given a clique-width kk-expression of an nn-vertex graph, \textsc{Hamiltonian Cycle} can be solved in time nO(k)n^{\mathcal{O}(k)}. This improves the naive algorithm that runs in time nO(k2)n^{\mathcal{O}(k^2)} by Espelage et al. (WG 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)n^{o(k)} (SIAM. J. Computing 2014). We present a technique of representative sets using two-edge colored multigraphs on kk 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 kk vertices with at most nn edges.

Keywords

Cite

@article{arxiv.1702.06095,
  title  = {An optimal XP algorithm for Hamiltonian cycle on graphs of bounded clique-width},
  author = {Benjamin Bergougnoux and Mamadou Moustapha Kanté and O-joung Kwon},
  journal= {arXiv preprint arXiv:1702.06095},
  year   = {2019}
}

Comments

17 page, 3 figure, Full version of the accepted paper in WADS 2017, corrected the characterization of red-blue Eulerian digraphs

R2 v1 2026-06-22T18:23:17.403Z