arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2209.14094cs.DScs.CG
收藏

动态单源向上平面图的动态嵌入

Dynamic Embeddings of Dynamic Single-Source Upward Planar Graphs

Ivor van der Hoog, Irene Parada, Eva Rotenberg

摘要:

一个有向图$G$是上平面的,如果它允许一个平面嵌入使得每条边都是$y$-单调的.与平面性测试不同,向上平面性测试是NP难的,除非在限制情况下,例如当图具有单源属性(即每个连通分量只有一个源)时。在本文中,我们提出了一个动态的算法,以保持一个组合嵌入$\mathcal{E}(G)$的单源向上平面图的边缘删除,边缘收缩,边缘插入向上通过一个面,和单源保持顶点分裂通过指定的角。此外,我们支持子图翻转形式的嵌入$\mathcal{E}(G)$的变化,子图翻转镜像或滑动通过最多两个顶点连接到图的其余部分的子图的位置。只要图形保持向上平面,就支持所有更新操作,只要图形保持单源,就支持所有查询。违反向上平面性的更新被我们的更新算法识别并拒绝。我们动态地维护一个线性大小的数据结构$G$,它支持一个顶点和一个面之间的关联查询,和向上链接的顶点对。如果一对顶点不是向上翻转的,我们方便一个翻转的查询,指向一个子图翻转,使他们的翻转,如果任何这样的翻转存在。我们支持所有的更新和查询在$O(\log^2 n)$的时间。

英文摘要:

A directed graph $G$ is upward planar if it admits a planar embedding such that each edge is $y$-monotone. Unlike planarity testing, upward planarity testing is NP-hard except in restricted cases, such as when the graph has the single-source property (i.e. each connected component only has one source). In this paper, we present a dynamic algorithm for maintaining a combinatorial embedding $\mathcal{E}(G)$ of a single-source upward planar graph subject to edge deletions, edge contractions, edge insertions upwards across a face, and single-source-preserving vertex splits through specified corners. We furthermore support changes to the embedding $\mathcal{E}(G)$ on the form of subgraph flips that mirror or slide the placement of a subgraph that is connected to the rest of the graph via at most two vertices. All update operations are supported as long as the graph remains upward planar, and all queries are supported as long as the graph remains single-source. Updates that violate upward planarity are identified as such and rejected by our update algorithm. We dynamically maintain a linear-size data structure on $G$ which supports incidence queries between a vertex and a face, and upward-linkability of vertex pairs. If a pair of vertices are not upwards-linkable, we facilitate one-flip-linkable queries that point to a subgraph flip that makes them linkable, if any such flip exists. We support all updates and queries in $O(\log^2 n)$ time.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑