Akanksha Agrawal, Sergio Cabello, Michael Kaufmann, Saket Saurabh, Roohani Sharma, Yushi Uno, Alexander Wolff
{"title":"消除有序图中的交叉点","authors":"Akanksha Agrawal, Sergio Cabello, Michael Kaufmann, Saket Saurabh, Roohani Sharma, Yushi Uno, Alexander Wolff","doi":"arxiv-2404.09771","DOIUrl":null,"url":null,"abstract":"Drawing a graph in the plane with as few crossings as possible is one of the\ncentral problems in graph drawing and computational geometry. Another option is\nto remove the smallest number of vertices or edges such that the remaining\ngraph can be drawn without crossings. We study both problems in a\nbook-embedding setting for ordered graphs, that is, graphs with a fixed vertex\norder. In this setting, the vertices lie on a straight line, called the spine,\nin the given order, and each edge must be drawn on one of several pages of a\nbook such that every edge has at most a fixed number of crossings. In book\nembeddings, there is another way to reduce or avoid crossings; namely by using\nmore pages. The minimum number of pages needed to draw an ordered graph without\nany crossings is its (fixed-vertex-order) page number. We show that the page number of an ordered graph with $n$ vertices and $m$\nedges can be computed in $2^m \\cdot n^{O(1)}$ time. An $O(\\log\nn)$-approximation of this number can be computed efficiently. We can decide in\n$2^{O(d \\sqrt{k} \\log (d+k))} \\cdot n^{O(1)}$ time whether it suffices to\ndelete $k$ edges of an ordered graph to obtain a $d$-planar layout (where every\nedge crosses at most $d$ other edges) on one page. As an additional parameter,\nwe consider the size $h$ of a hitting set, that is, a set of points on the\nspine such that every edge, seen as an open interval, contains at least one of\nthe points. For $h=1$, we can efficiently compute the minimum number of edges\nwhose deletion yields fixed-vertex-order page number $p$. For $h>1$, we give an\nXP algorithm with respect to $h+p$. Finally, we consider spine+$t$-track\ndrawings, where some but not all vertices lie on the spine. The vertex order on\nthe spine is given; we must map every vertex that does not lie on the spine to\none of $t$ tracks, each of which is a straight line on a separate page,\nparallel to the spine.","PeriodicalId":501570,"journal":{"name":"arXiv - CS - Computational Geometry","volume":"114 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-04-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Eliminating Crossings in Ordered Graphs\",\"authors\":\"Akanksha Agrawal, Sergio Cabello, Michael Kaufmann, Saket Saurabh, Roohani Sharma, Yushi Uno, Alexander Wolff\",\"doi\":\"arxiv-2404.09771\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Drawing a graph in the plane with as few crossings as possible is one of the\\ncentral problems in graph drawing and computational geometry. Another option is\\nto remove the smallest number of vertices or edges such that the remaining\\ngraph can be drawn without crossings. We study both problems in a\\nbook-embedding setting for ordered graphs, that is, graphs with a fixed vertex\\norder. In this setting, the vertices lie on a straight line, called the spine,\\nin the given order, and each edge must be drawn on one of several pages of a\\nbook such that every edge has at most a fixed number of crossings. In book\\nembeddings, there is another way to reduce or avoid crossings; namely by using\\nmore pages. The minimum number of pages needed to draw an ordered graph without\\nany crossings is its (fixed-vertex-order) page number. We show that the page number of an ordered graph with $n$ vertices and $m$\\nedges can be computed in $2^m \\\\cdot n^{O(1)}$ time. An $O(\\\\log\\nn)$-approximation of this number can be computed efficiently. We can decide in\\n$2^{O(d \\\\sqrt{k} \\\\log (d+k))} \\\\cdot n^{O(1)}$ time whether it suffices to\\ndelete $k$ edges of an ordered graph to obtain a $d$-planar layout (where every\\nedge crosses at most $d$ other edges) on one page. As an additional parameter,\\nwe consider the size $h$ of a hitting set, that is, a set of points on the\\nspine such that every edge, seen as an open interval, contains at least one of\\nthe points. For $h=1$, we can efficiently compute the minimum number of edges\\nwhose deletion yields fixed-vertex-order page number $p$. For $h>1$, we give an\\nXP algorithm with respect to $h+p$. Finally, we consider spine+$t$-track\\ndrawings, where some but not all vertices lie on the spine. The vertex order on\\nthe spine is given; we must map every vertex that does not lie on the spine to\\none of $t$ tracks, each of which is a straight line on a separate page,\\nparallel to the spine.\",\"PeriodicalId\":501570,\"journal\":{\"name\":\"arXiv - CS - Computational Geometry\",\"volume\":\"114 1\",\"pages\":\"\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2024-04-15\",\"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-2404.09771\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Computational Geometry","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2404.09771","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Drawing a graph in the plane with as few crossings as possible is one of the
central problems in graph drawing and computational geometry. Another option is
to remove the smallest number of vertices or edges such that the remaining
graph can be drawn without crossings. We study both problems in a
book-embedding setting for ordered graphs, that is, graphs with a fixed vertex
order. In this setting, the vertices lie on a straight line, called the spine,
in the given order, and each edge must be drawn on one of several pages of a
book such that every edge has at most a fixed number of crossings. In book
embeddings, there is another way to reduce or avoid crossings; namely by using
more pages. The minimum number of pages needed to draw an ordered graph without
any crossings is its (fixed-vertex-order) page number. We show that the page number of an ordered graph with $n$ vertices and $m$
edges can be computed in $2^m \cdot n^{O(1)}$ time. An $O(\log
n)$-approximation of this number can be computed efficiently. We can decide in
$2^{O(d \sqrt{k} \log (d+k))} \cdot n^{O(1)}$ time whether it suffices to
delete $k$ edges of an ordered graph to obtain a $d$-planar layout (where every
edge crosses at most $d$ other edges) on one page. As an additional parameter,
we consider the size $h$ of a hitting set, that is, a set of points on the
spine such that every edge, seen as an open interval, contains at least one of
the points. For $h=1$, we can efficiently compute the minimum number of edges
whose deletion yields fixed-vertex-order page number $p$. For $h>1$, we give an
XP algorithm with respect to $h+p$. Finally, we consider spine+$t$-track
drawings, where some but not all vertices lie on the spine. The vertex order on
the spine is given; we must map every vertex that does not lie on the spine to
one of $t$ tracks, each of which is a straight line on a separate page,
parallel to the spine.