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

一般有向图的紧致分层图

Compact Layered Drawings of General Directed Graphs

Adalat Jabrayilov, Sven Mallach, Petra Mutzel, Ulf Rüegg, Reinhard von Hanxleden

摘要:

我们考虑的问题分层一般有向图的高度和可能的宽度限制。给定一个有向图G =(V,A)和一个最大高度,我们提出了一种分层方法,该方法最小化反向弧数、弧长和图宽的加权和.我们称之为紧凑的广义分层问题(CGLP)。在这里,绘图的宽度被定义为放置在层上的顶点数和由穿过层的弧引起的虚拟顶点数的最大总和。CGLP是NP难的。我们提出了两个MIP模型这个问题。第一个(EXT)是我们的扩展的一个自然的配方,由希利和尼科洛夫建议的有向无环图。第二种是基于偏序的新公式(CGL)。我们的计算实验上的两个基准集表明,CGL制定可以解决得更快,比EXT使用标准的商业MIP求解器。此外,我们建议CGL的一个变种,称为MML,可以被看作是一个启发式的方法。在我们的实验中,MML在运行时间方面明显改善了CGL,而它并没有显著增加布局的平均弧长和宽度,尽管它解决了一个稍微不同的问题,即没有考虑虚拟顶点。

英文摘要:

We consider the problem of layering general directed graphs under height and possibly also width constraints. Given a directed graph G = (V,A) and a maximal height, we propose a layering approach that minimizes a weighted sum of the number of reversed arcs, the arc lengths, and the width of the drawing. We call this the Compact Generalized Layering Problem (CGLP). Here, the width of a drawing is defined as the maximum sum of the number of vertices placed on a layer and the number of dummy vertices caused by arcs traversing the layer. The CGLP is NP-hard. We present two MIP models for this problem. The first one (EXT) is our extension of a natural formulation for directed acyclic graphs as suggested by Healy and Nikolov. The second one (CGL) is a new formulation based on partial orderings. Our computational experiments on two benchmark sets show that the CGL formulation can be solved much faster than EXT using standard commercial MIP solvers. Moreover, we suggest a variant of CGL, called MML, that can be seen as a heuristic approach. In our experiments, MML clearly improves on CGL in terms of running time while it does not considerably increase the average arc lengths and widths of the layouts although it solves a slightly different problem where the dummy vertices are not taken into account.

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

↑