Václav Blažej, Boris Klemz, Felix Klesen, Marie Diana Sieper, Alexander Wolff, Johannes Zink
{"title":"Constrained and Ordered Level Planarity Parameterized by the Number of Levels","authors":"Václav Blažej, Boris Klemz, Felix Klesen, Marie Diana Sieper, Alexander Wolff, Johannes Zink","doi":"arxiv-2403.13702","DOIUrl":null,"url":null,"abstract":"The problem Level Planarity asks for a crossing-free drawing of a graph in\nthe plane such that vertices are placed at prescribed y-coordinates (called\nlevels) and such that every edge is realized as a y-monotone curve. In the\nvariant Constrained Level Planarity (CLP), each level $y$ is equipped with a\npartial order $\\prec_y$ on its vertices and in the desired drawing the\nleft-to-right order of vertices on level $y$ has to be a linear extension of\n$\\prec_y$. Ordered Level Planarity (OLP) corresponds to the special case of CLP\nwhere the given partial orders $\\prec_y$ are total orders. Previous results by\nBr\\\"uckner and Rutter [SODA 2017] and Klemz and Rote [ACM Trans. Alg. 2019]\nstate that both CLP and OLP are NP-hard even in severely restricted cases. In\nparticular, they remain NP-hard even when restricted to instances whose width\n(the maximum number of vertices that may share a common level) is at most two.\nIn this paper, we focus on the other dimension: we study the parameterized\ncomplexity of CLP and OLP with respect to the height (the number of levels). We show that OLP parameterized by the height is complete with respect to the\ncomplexity class XNLP, which was first studied by Elberfeld et al.\n[Algorithmica 2015] (under a different name) and recently made more prominent\nby Bodlaender et al. [FOCS 2021]. It contains all parameterized problems that\ncan be solved nondeterministically in time $f(k) n^{O(1)}$ and space $f(k) \\log\nn$ (where $f$ is a computable function, $n$ is the input size, and $k$ is the\nparameter). If a problem is XNLP-complete, it lies in XP, but is W[$t$]-hard\nfor every $t$. In contrast to the fact that OLP parameterized by the height lies in XP, it\nturns out that CLP is NP-hard even when restricted to instances of height 4. We\ncomplement this result by showing that CLP can be solved in polynomial time for\ninstances of height at most 3.","PeriodicalId":501570,"journal":{"name":"arXiv - CS - Computational Geometry","volume":"46 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-03-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Computational Geometry","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2403.13702","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
The problem Level Planarity asks for a crossing-free drawing of a graph in
the plane such that vertices are placed at prescribed y-coordinates (called
levels) and such that every edge is realized as a y-monotone curve. In the
variant Constrained Level Planarity (CLP), each level $y$ is equipped with a
partial order $\prec_y$ on its vertices and in the desired drawing the
left-to-right order of vertices on level $y$ has to be a linear extension of
$\prec_y$. Ordered Level Planarity (OLP) corresponds to the special case of CLP
where the given partial orders $\prec_y$ are total orders. Previous results by
Br\"uckner and Rutter [SODA 2017] and Klemz and Rote [ACM Trans. Alg. 2019]
state that both CLP and OLP are NP-hard even in severely restricted cases. In
particular, they remain NP-hard even when restricted to instances whose width
(the maximum number of vertices that may share a common level) is at most two.
In this paper, we focus on the other dimension: we study the parameterized
complexity of CLP and OLP with respect to the height (the number of levels). We show that OLP parameterized by the height is complete with respect to the
complexity class XNLP, which was first studied by Elberfeld et al.
[Algorithmica 2015] (under a different name) and recently made more prominent
by Bodlaender et al. [FOCS 2021]. It contains all parameterized problems that
can be solved nondeterministically in time $f(k) n^{O(1)}$ and space $f(k) \log
n$ (where $f$ is a computable function, $n$ is the input size, and $k$ is the
parameter). If a problem is XNLP-complete, it lies in XP, but is W[$t$]-hard
for every $t$. In contrast to the fact that OLP parameterized by the height lies in XP, it
turns out that CLP is NP-hard even when restricted to instances of height 4. We
complement this result by showing that CLP can be solved in polynomial time for
instances of height at most 3.