We consider the problem of finding a Hamiltonian path or cycle with precedence constraints in the form of a partial order on the vertex set. We study the complexity for graph width parameters for which the ordinary problems and are in . In particular, we focus on parameters that describe how many vertices and edges have to be deleted to become a member of a certain graph class. We show that the problems are -hard for such restricted cases as vertex distance to path and vertex distance to clique. We complement these results by showing that the problems can be solved in time for vertex distance to outerplanar and vertex distance to block. Furthermore, we present some algorithms, e.g., for edge distance to block. Additionally, we prove para--hardness when considered with the edge clique cover number.

生成讲解博客的中文版本

生成AI智能校验的中文版本