Carlos Alegria, Susanna Caroppo, Giordano Da Lozzo, Marco D'Elia, Giuseppe Di Battista, Fabrizio Frati, Fabrizio Grosso, Maurizio Patrignani
{"title":"Upward Pointset Embeddings of Planar st-Graphs","authors":"Carlos Alegria, Susanna Caroppo, Giordano Da Lozzo, Marco D'Elia, Giuseppe Di Battista, Fabrizio Frati, Fabrizio Grosso, Maurizio Patrignani","doi":"arxiv-2408.17369","DOIUrl":null,"url":null,"abstract":"We study upward pointset embeddings (UPSEs) of planar $st$-graphs. Let $G$ be\na planar $st$-graph and let $S \\subset \\mathbb{R}^2$ be a pointset with $|S|=\n|V(G)|$. An UPSE of $G$ on $S$ is an upward planar straight-line drawing of $G$\nthat maps the vertices of $G$ to the points of $S$. We consider both the\nproblem of testing the existence of an UPSE of $G$ on $S$ (UPSE Testing) and\nthe problem of enumerating all UPSEs of $G$ on $S$. We prove that UPSE Testing\nis NP-complete even for $st$-graphs that consist of a set of directed\n$st$-paths sharing only $s$ and $t$. On the other hand, for $n$-vertex planar\n$st$-graphs whose maximum $st$-cutset has size $k$, we prove that it is\npossible to solve UPSE Testing in $O(n^{4k})$ time with $O(n^{3k})$ space, and\nto enumerate all UPSEs of $G$ on $S$ with $O(n)$ worst-case delay, using $O(k\nn^{4k} \\log n)$ space, after $O(k n^{4k} \\log n)$ set-up time. Moreover, for an\n$n$-vertex $st$-graph whose underlying graph is a cycle, we provide a necessary\nand sufficient condition for the existence of an UPSE on a given poinset, which\ncan be tested in $O(n \\log n)$ time. Related to this result, we give an\nalgorithm that, for a set $S$ of $n$ points, enumerates all the non-crossing\nmonotone Hamiltonian cycles on $S$ with $O(n)$ worst-case delay, using $O(n^2)$\nspace, after $O(n^2)$ set-up time.","PeriodicalId":501216,"journal":{"name":"arXiv - CS - Discrete Mathematics","volume":"18 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-08-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Discrete Mathematics","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2408.17369","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
We study upward pointset embeddings (UPSEs) of planar $st$-graphs. Let $G$ be
a planar $st$-graph and let $S \subset \mathbb{R}^2$ be a pointset with $|S|=
|V(G)|$. An UPSE of $G$ on $S$ is an upward planar straight-line drawing of $G$
that maps the vertices of $G$ to the points of $S$. We consider both the
problem of testing the existence of an UPSE of $G$ on $S$ (UPSE Testing) and
the problem of enumerating all UPSEs of $G$ on $S$. We prove that UPSE Testing
is NP-complete even for $st$-graphs that consist of a set of directed
$st$-paths sharing only $s$ and $t$. On the other hand, for $n$-vertex planar
$st$-graphs whose maximum $st$-cutset has size $k$, we prove that it is
possible to solve UPSE Testing in $O(n^{4k})$ time with $O(n^{3k})$ space, and
to enumerate all UPSEs of $G$ on $S$ with $O(n)$ worst-case delay, using $O(k
n^{4k} \log n)$ space, after $O(k n^{4k} \log n)$ set-up time. Moreover, for an
$n$-vertex $st$-graph whose underlying graph is a cycle, we provide a necessary
and sufficient condition for the existence of an UPSE on a given poinset, which
can be tested in $O(n \log n)$ time. Related to this result, we give an
algorithm that, for a set $S$ of $n$ points, enumerates all the non-crossing
monotone Hamiltonian cycles on $S$ with $O(n)$ worst-case delay, using $O(n^2)$
space, after $O(n^2)$ set-up time.