实践中的约束平面性——工程化 Synchronized Planarity 算法
Constrained Planarity in Practice -- Engineering the Synchronized Planarity Algorithm
AI总结:
本文工程化实现并优化 Bläsius 等人的二次时间 Synchronized Planarity 算法,统一处理多种约束平面性问题,基线即快一个数量级,可在分钟级处理10万顶点实例。
摘要:
在约束平面性设置中,我们询问一个图是否存在一种平面绘制,且该绘制还需满足给定的一组约束。这些约束通常源于非常自然的问题;突出的例子包括 Level Planarity(层级平面性),其中顶点必须位于表示层级结构的给定水平线上;以及 Clustered Planarity(聚类平面性),其中我们还要绘制聚类边界,这些聚类以无交叉的方式递归地对顶点进行分组。尽管这些问题受到了大量关注并取得了实质性的理论进展,但已找到的解决方案中只有极少数被付诸实践并进行实验评估。在本文中,我们描述了对 Bläsius 等人 [TALG 第19卷第4期] 近期提出的用于求解 Synchronized Planarity 问题的二次时间算法的实现;该问题可被视为若干约束平面性问题的共同推广,其中包括上述问题。我们在一个现有基准测试集上的实验评估表明,即使是我们的基线实现,也比所有竞争方案快至少一个数量级。我们系统地研究了面向更大实例实现 Synchronized Planarity 算法时的自由度,并提出若干进一步提升性能的修改。总体而言,这使我们能够在毫秒级求解多达100个顶点的实例,并在几分钟内求解多达100 000个顶点的实例。
英文摘要:
In the constrained planarity setting, we ask whether a graph admits a planar drawing that additionally satisfies a given set of constraints. These constraints are often derived from very natural problems; prominent examples are Level Planarity, where vertices have to lie on given horizontal lines indicating a hierarchy, and Clustered Planarity, where we additionally draw the boundaries of clusters which recursively group the vertices in a crossing-free manner. Despite receiving significant amount of attention and substantial theoretical progress on these problems, only very few of the found solutions have been put into practice and evaluated experimentally. In this paper, we describe our implementation of the recent quadratic-time algorithm by Bläsius et al. [TALG Vol 19, No 4] for solving the problem Synchronized Planarity, which can be seen as a common generalization of several constrained planarity problems, including the aforementioned ones. Our experimental evaluation on an existing benchmark set shows that even our baseline implementation outperforms all competitors by at least an order of magnitude. We systematically investigate the degrees of freedom in the implementation of the Synchronized Planarity algorithm for larger instances and propose several modifications that further improve the performance. Altogether, this allows us to solve instances with up to 100 vertices in milliseconds and instances with up to 100 000 vertices within a few minutes.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。