English

Graph Search Trees and the Intermezzo Problem

Discrete Mathematics 2024-08-26 v2 Computational Complexity Data Structures and Algorithms Combinatorics

Abstract

The last in-tree recognition problem asks whether a given spanning tree can be derived by connecting each vertex with its rightmost left neighbor of some search ordering. In this study, we demonstrate that the last-in-tree recognition problem for Generic Search is NP\mathsf{NP}-complete. We utilize this finding to strengthen a complexity result from order theory. Given a partial order π\pi and a set of triples, the NP\mathsf{NP}-complete intermezzo problem asks for a linear extension of π\pi where each first element of a triple is not between the other two. We show that this problem remains NP\mathsf{NP}-complete even when the Hasse diagram of the partial order forms a tree of bounded height. In contrast, we give an XP\mathsf{XP}-algorithm for the problem when parameterized by the width of the partial order. Furthermore, we show that \unicodex2013\unicode{x2013} under the assumption of the Exponential Time Hypothesis \unicodex2013\unicode{x2013} the running time of this algorithm is asymptotically optimal.

Keywords

Cite

@article{arxiv.2404.18645,
  title  = {Graph Search Trees and the Intermezzo Problem},
  author = {Jesse Beisegel and Ekkehard Köhler and Fabienne Ratajczak and Robert Scheffler and Martin Strehler},
  journal= {arXiv preprint arXiv:2404.18645},
  year   = {2024}
}

Comments

full version of an extended abstract published in the Proceedings of the 49th International Symposium on Mathematical Foundations of Computer Science (MFCS 2024) in Bratislava

R2 v1 2026-06-28T16:09:40.735Z