We study the crossing minimization problem in a layered graph drawing of rooted trees whose leaves have a given fixed order on the first layer. The task is to permute the vertices on the other layers to minimize the number of crossings. While this problem is known to be NP-hard for multiple trees even on just two layers, we give a polynomial-time algorithm for the restricted case of two trees. On the other hand, when restricting the number of layers to three, we describe an XP-algorithm in the number of trees.
翻译:我们用图层绘制的树叶在第一层有固定顺序的根根树图来研究跨越最大程度的问题。 任务在于将其他层的脊椎进行估计, 以尽量减少过境次数。 虽然已知这个问题对多层树木甚至仅两层树木来说都是NP硬的, 我们对两层受限制的树木采用多年度算法。 另一方面, 在将层数限制为三层时, 我们在树数中描述 XP 等分法 。</s>