arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1209.0598cs.DS
收藏

一种分块两页书嵌入测试算法的实现

Implementing a Partitioned 2-page Book Embedding Testing Algorithm

Patrizio Angelini, Marco Di Bartolomeo, Giuseppe Di Battista

摘要:

在书嵌入中,图的顶点被放置在“书”的“书脊”上,边被分配给“页”,以便同一页上的边不交叉。在分块两页书嵌入问题中,将边划分为两个集合E_1和E_2,两页书,E_1的边指定为第1页,E_2的边指定为第2页。这个问题包括检查是否存在沿书脊的顶点排序,以便每个页面的边缘不交叉。Hong和Nagamochi给出了一个有趣而复杂的线性时间算法来处理基于SPQR树的分块2页图书嵌入。我们展示了该算法的有效实现,并通过大量的实验测试表明其有效性。由于分区的2页书嵌入和集群平面性之间的关系,我们产生了一个副作用,实现了一个集群平面性测试,其中图正好有两个集群。

英文摘要:

In a book embedding the vertices of a graph are placed on the "spine" of a "book" and the edges are assigned to "pages" so that edges on the same page do not cross. In the Partitioned 2-page Book Embedding problem egdes are partitioned into two sets E_1 and E_2, the pages are two, the edges of E_1 are assigned to page 1, and the edges of E_2 are assigned to page 2. The problem consists of checking if an ordering of the vertices exists along the spine so that the edges of each page do not cross. Hong and Nagamochi give an interesting and complex linear time algorithm for tackling Partitioned 2-page Book Embedding based on SPQR-trees. We show an efficient implementation of this algorithm and show its effectiveness by performing a number of experimental tests. Because of the relationships between Partitioned 2-page Book Embedding and clustered planarity we yield as a side effect an implementation of a clustered planarity testing where the graph has exactly two clusters.

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

↑