arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1901.07118cs.DS
收藏

Hamilton圈问题的空间有效参数化动态代数算法

A Space-efficient Parameterized Algorithm for the Hamiltonian Cycle Problem by Dynamic Algebraziation

Mahdi Belbasi, Martin Fürer

摘要:

NP难图问题对于一般的图可能是棘手的,但是对于具有有界宽度(或深度或一些其他结构参数)的图,使用动态规划可以有效地解决该问题。动态规划是一种基于树分解的NP-难图问题的精确求解方法。它已被证明,存在的算法,使用线性时间的顶点数和单指数时间的宽度(深度或其他参数)的一个给定的树分解的许多连接性问题。在树分解上使用动态规划通常使用指数空间。2010年,Lokshtanov和Nederlof引入了一个优雅的框架,通过代数化来避免指数空间。后来,Fürer和Yu以一种即使在底层集合是动态的情况下也有效的方式修改了框架,从而将其应用于树分解。在这项工作中,我们设计了空间有效的算法来解决汉密尔顿循环和旅行商问题,使用多项式空间,而时间复杂度只略有增加。这可能是不可避免的,因为我们正在将空间使用从指数数量(在动态规划解决方案中)减少到多项式。给出了一个在$\mathcal{O}(dn\log{n})$空间上求解时间上的Hamilton圈$\mathcal{O}((4w)^d\, nM(n\log{n}))$的算法,其中$M(r)$是两个整数相乘的时间复杂度,每个整数至多由$r$位表示.然后,我们解决了更一般的旅行商问题的时间$\mathcal{O}((4w)^d poly(n))$使用空间$\mathcal{O}(\mathcal{W}dn\log{n})$,其中$w$和$d$是给定的树分解的宽度和深度和$\mathcal{W}$是权重的总和。此外,该算法还计算了Hamilton圈的个数。

英文摘要:

An NP-hard graph problem may be intractable for general graphs but it could be efficiently solvable using dynamic programming for graphs with bounded width (or depth or some other structural parameter). Dynamic programming is a well-known approach used for finding exact solutions for NP-hard graph problems based on tree decompositions. It has been shown that there exist algorithms using linear time in the number of vertices and single exponential time in the width (depth or other parameters) of a given tree decomposition for many connectivity problems. Employing dynamic programming on a tree decomposition usually uses exponential space. In 2010, Lokshtanov and Nederlof introduced an elegant framework to avoid exponential space by algebraization. Later, Fürer and Yu modified the framework in a way that even works when the underlying set is dynamic, thus applying it to tree decompositions. In this work, we design space-efficient algorithms to solve the Hamiltonian Cycle and the Traveling Salesman problems, using polynomial space while the time complexity is only slightly increased. This might be inevitable since we are reducing the space usage from an exponential amount (in dynamic programming solution) to polynomial. We give an algorithm to solve Hamiltonian cycle in time $\mathcal{O}((4w)^d\, nM(n\log{n}))$ using $\mathcal{O}(dn\log{n})$ space, where $M(r)$ is the time complexity to multiply two integers, each of which being represented by at most $r$ bits. Then, we solve the more general Traveling Salesman problem in time $\mathcal{O}((4w)^d poly(n))$ using space $\mathcal{O}(\mathcal{W}dn\log{n})$, where $w$ and $d$ are the width and the depth of the given tree decomposition and $\mathcal{W}$ is the sum of weights. Furthermore, this algorithm counts the number of Hamiltonian Cycles.

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

↑