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

树的最佳宽度向上图

Optimum-width upward drawings of trees

Therese Biedl

摘要:

一棵树的向上图是这样一种图,即没有父母在他们的孩子下面。如果子节点的边在每个节点周围以规定的顺序出现,则它是保序的。Chan证明了任何树都有一个宽度为O(log n)的向上保序图。在本文中,我们提出了线性时间算法,发现向上的实例最佳宽度,即,宽度是输入树的最小可能值。我们研究了两种不同的模型。在第一个模型中,绘图不需要保持顺序;一个非常简单的算法可以找到最佳宽度的直线绘图。在第二个模型中,图纸必须是保序的;我们给出了一个算法,找到最佳宽度的折线图,即,允许边缘具有弯曲。我们还简要地研究了保序向上直线图,并表明,有些树需要更大的宽度,如果图纸必须是直线。

英文摘要:

An upward drawing of a tree is a drawing such that no parents are below their children. It is order-preserving if the edges to children appear in prescribed order around each node. Chan showed that any tree has an upward order-preserving drawing with width O(log n). In this paper, we present linear-time algorithms that finds upward with instance-optimal width, i.e., the width is the minimum-possible for the input tree. We study two different models. In the first model, the drawings need not be order-preserving; a very simple algorithm then finds straight-line drawings of optimal width. In the second model, the drawings must be order-preserving; and we give an algorithm that finds optimum-width poly-line drawings, i.e., edges are allowed to have bends. We also briefly study order-preserving upward straight-line drawings, and show that some trees require larger width if drawings must be straight-line.

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

↑