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

关于树搜索的复杂性:平均情况最小化

On the Complexity of Searching in Trees: Average-case Minimization

Ferdinando Cicalese, Tobias Jacobs, Eduardo Laber, Marco Molinaro

摘要:

我们专注于平均情况分析:给出一个函数w:V -> Z+,它定义了一个节点被标记的可能性,我们想要的策略是最小化预期的查询数量。在此之前,很少有人知道这个自然的问题和问题的复杂性至今仍然是一个悬而未决的问题。我们关闭这个问题,并证明了上述树搜索问题是NP-完全的,即使类树的直径最多为4。这导致了关于直径尺寸的问题的复杂性的完整表征。事实上,对于直径不大于3的问题可以被证明是多项式可解的使用动态规划方法。此外,我们证明了这个问题是NP-完全的,即使类的树的最大程度最多为16。据我们所知,在这个方向上唯一已知的结果是,树搜索问题是可解决的O(|V| log |V|)时间的树度最多为2(路径)。我们将上述复杂度结果与严格的算法分析相匹配。我们首先表明,一个自然的贪心算法达到2-近似。此外,对于有界度的情况,我们证明了任何最优策略(即,最小化查询的期望数目的一个)在最坏情况下执行至多O(Δ(T)(log |V| + log w(T)个查询,其中w(T)是T的节点的似然之和,并且Δ(T)是T的最大度。我们结合这一结果与非平凡的指数时间算法提供了一个有界度的树的FPTAS。

英文摘要:

We focus on the average-case analysis: A function w : V -> Z+ is given which defines the likelihood for a node to be the one marked, and we want the strategy that minimizes the expected number of queries. Prior to this paper, very little was known about this natural question and the complexity of the problem had remained so far an open question. We close this question and prove that the above tree search problem is NP-complete even for the class of trees with diameter at most 4. This results in a complete characterization of the complexity of the problem with respect to the diameter size. In fact, for diameter not larger than 3 the problem can be shown to be polynomially solvable using a dynamic programming approach. In addition we prove that the problem is NP-complete even for the class of trees of maximum degree at most 16. To the best of our knowledge, the only known result in this direction is that the tree search problem is solvable in O(|V| log|V|) time for trees with degree at most 2 (paths). We match the above complexity results with a tight algorithmic analysis. We first show that a natural greedy algorithm attains a 2-approximation. Furthermore, for the bounded degree instances, we show that any optimal strategy (i.e., one that minimizes the expected number of queries) performs at most O(Δ(T) (log |V| + log w(T))) queries in the worst case, where w(T) is the sum of the likelihoods of the nodes of T and Δ(T) is the maximum degree of T. We combine this result with a non-trivial exponential time algorithm to provide an FPTAS for trees with bounded degree.

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

↑