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

P中的Hamilton圈问题

Hamiltonian Cycle Problem is in P

Aimin Hou

摘要:

本文提出了第一个确定性多项式时间算法,用于判定一般图中Hamilton圈的存在性和寻找Hamilton圈。我们的算法也可以解决可迹图中的Hamilton路问题。我们算法的空间复杂度为O(n^4)。算法的时间复杂度理论上平均为O(n^5*d^2),最坏情况下为O(n^6*d^2),其中d为顶点的最大度。通过并行计算,空间复杂度可以改进为O(n^3),时间复杂度平均为O(n^3*d^2),最坏情况下为O(n^4*d^2)。我们构造了相应的路径全息图从原始图转换和计算的路径集,这是一个集合的片段集的所有顶点位于同一段水平的所有最长的基本路径,每个顶点的贪婪策略。路径全息图是具有顶点<u,k>的多段图,其中u是顶点,k是路径全息图中u的段水平。为了保证每个有效路径片段都能被访问,而无效路径片段不能被访问,该方法的关键策略是分别对顶点的左/右动作域递归地进行“连续”的删除-补充操作.事实上,我们的算法可以直接应用于原始图。此外,我们的算法可以处理有限的一般图,包括无向,有向,和混合。其结果是,著名的问题HCP在NPC现在可以解决实际上在确定性多项式时间一般图在最坏的情况下。

英文摘要:

In this paper we present the first deterministic polynomial time algorithm for determining the existence of a Hamiltonian cycle and finding a Hamiltonian cycle in general graphs. Our algorithm can also solve the Hamiltonian path problem in the traceable graphs. The space complexity of our algorithm is O(n^4). The time complexity are theoretically O(n^5*d^2) on average and O(n^6*d^2) in the worst case respectively, where d is the maximum degree of vertex. With parallel computing, the space complexity can be improved to O(n^3) and the time complexity to O(n^3*d^2) on average and O(n^4*d^2) in the worst case. We construct the corresponding path hologram transformed from the original graph and compute the path set, which is a collection of segment sets consisting of all the vertices located on the same segment level among all the longest basic paths, of every vertex with greedy strategy. The path hologram is a multi-segment graph with the vertex <u, k> where u is a vertex and k is the segment level of u in the path hologram. To ensure that each valid path fragments can be visited and invalid path fragments cannot be visited, the key strategy of our method is the "consecutive" deleting-replenishing operations recursively on the left/right action field of a vertex, respectively. In fact, our algorithm can be directly applied to the original graph. Besides, our algorithm can deal with the finite general graphs including undirected, directed, and mixed. As a result, the well-known problem HCP in NPC can be now solved practically in deterministic polynomial time for general graphs in the worst case.

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

↑