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

最长可堆子序列和最大二叉树的固定参数算法

Fixed-Parameter Algorithms for Longest Heapable Subsequence and Maximum Binary Tree

Karthekeyan Chandrasekaran, Elena Grigorescu, Gabriel Istrate, Shubhang Kulkarni, Young-San Lin, Minshen Zhu

摘要:

可堆序列是可以排列在“最小堆数据结构“中的数字序列。Byers、Heeringa、Mitzenmacher和Zervas(ANALCO 2011)提出了寻找给定序列的最长可堆子序列,作为已研究的最长递增子序列问题的推广,其复杂性仍然是开放的。最长可堆子序列问题的一个等价公式是在给定的置换有向无环图(置换DAG)中寻找最大二叉树。在这项工作中,我们研究了最长可堆子序列以及最大二叉树的参数化算法。结果表明:1.最长可堆子序列问题可以在$k^{O(\log{k})}n$时间内解决,其中$k$是输入序列中不同值的数量。我们引入了“字母大小”作为一个新的参数在研究的计算问题的置换DAG。我们的最长可堆子序列的结果意味着,在一个给定的置换DAG的最大尺寸的二叉树问题是固定参数的参数时,由字母表的大小易处理的。2.我们表明,相对于一个固定的拓扑顺序的字母表的大小可以计算在多项式时间,承认一个最小-最大的关系,并有一个多面体的描述。3.针对无向图的最大二叉树问题,设计了一个以树宽$w$为参数的固定参数的运行时$w^{O(w)}n$算法.我们的研究结果从参数化算法的角度对理解置换DAG中最长可堆子序列和最大二叉树的复杂性做出了进展。我们相信,我们引入的参数字母表的大小可能是有用的上下文中定义的置换DAG的优化问题。

英文摘要:

A heapable sequence is a sequence of numbers that can be arranged in a "min-heap data structure". Finding a longest heapable subsequence of a given sequence was proposed by Byers, Heeringa, Mitzenmacher, and Zervas (ANALCO 2011) as a generalization of the well-studied longest increasing subsequence problem and its complexity still remains open. An equivalent formulation of the longest heapable subsequence problem is that of finding a maximum-sized binary tree in a given permutation directed acyclic graph (permutation DAG). In this work, we study parameterized algorithms for both longest heapable subsequence as well as maximum-sized binary tree. We show the following results: 1. The longest heapable subsequence problem can be solved in $k^{O(\log{k})}n$ time, where $k$ is the number of distinct values in the input sequence. We introduce the "alphabet size" as a new parameter in the study of computational problems in permutation DAGs. Our result on longest heapable subsequence implies that the maximum-sized binary tree problem in a given permutation DAG is fixed-parameter tractable when parameterized by the alphabet size. 2. We show that the alphabet size with respect to a fixed topological ordering can be computed in polynomial time, admits a min-max relation, and has a polyhedral description. 3. We design a fixed-parameter algorithm with run-time $w^{O(w)}n$ for the maximum-sized binary tree problem in undirected graphs when parameterized by treewidth $w$. Our results make progress towards understanding the complexity of the longest heapable subsequence and maximum-sized binary tree in permutation DAGs from the perspective of parameterized algorithms. We believe that the parameter alphabet size that we introduce is likely to be useful in the context of optimization problems defined over permutation DAGs.

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

↑