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

具有凸弯曲代价的正交图的最优绘制

Optimal Orthogonal Graph Drawing with Convex Bend Costs

Thomas Bläsius, Ignaz Rutter, Dorothea Wagner

摘要:

传统上,正交平面图形的质量通过折弯总数或每条边的最大折弯数来量化。然而,这忽略了在典型应用中,边缘具有不同的重要性。此外,由于所有平面嵌入上的弯曲最小化是NP难的,因此大多数方法都集中在固定的平面嵌入上。我们考虑如下定义的问题OptimalFlexDraw。给定一个最大度为4的n个顶点的平面图G,对于每条边e,一个成本函数cost_e:N_0 --> R定义成本取决于e上的弯曲数,计算G的最小成本正交图。请注意,这优化了输入图的所有平面嵌入,并且成本函数允许对边的弯曲进行细粒度控制。在这种普遍性中,OptimalFlexDraw是NP难的。我们证明,如果1)每条边的成本函数是凸的,并且2)每条边上的第一个弯曲不会导致任何成本(这是一个类似于决策问题FlexDraw的正柔性的条件),则可以有效地解决它。此外,我们证明了一个最佳的解决方案的存在性,除了一个单一的边缘,每个块(最大的双连通组件),最多有四个弯曲,每个边缘最多有三个弯曲。对于双连通图,我们得到了O(n T_flow(n))的运行时间,其中T_flow(n)表示在具有多个源和汇的平面流网络中计算最小费用流所需的时间。对于非双连通的连通图,我们需要一个额外的因子O(n)。

英文摘要:

Traditionally, the quality of orthogonal planar drawings is quantified by either the total number of bends, or the maximum number of bends per edge. However, this neglects that in typical applications, edges have varying importance. Moreover, as bend minimization over all planar embeddings is NP-hard, most approaches focus on a fixed planar embedding. We consider the problem OptimalFlexDraw that is defined as follows. Given a planar graph G on n vertices with maximum degree 4 and for each edge e a cost function cost_e : N_0 --> R defining costs depending on the number of bends on e, compute an orthogonal drawing of G of minimum cost. Note that this optimizes over all planar embeddings of the input graphs, and the cost functions allow fine-grained control on the bends of edges. In this generality OptimalFlexDraw is NP-hard. We show that it can be solved efficiently if 1) the cost function of each edge is convex and 2) the first bend on each edge does not cause any cost (which is a condition similar to the positive flexibility for the decision problem FlexDraw). Moreover, we show the existence of an optimal solution with at most three bends per edge except for a single edge per block (maximal biconnected component) with up to four bends. For biconnected graphs we obtain a running time of O(n T_flow(n)), where T_flow(n) denotes the time necessary to compute a minimum-cost flow in a planar flow network with multiple sources and sinks. For connected graphs that are not biconnected we need an additional factor of O(n).

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

↑