A Space-Efficient Parameterized Algorithm for the Hamiltonian Cycle Problem by Dynamic Algebraization

被引:4
作者
Belbasi, Mahdi [1 ]
Furer, Martin [1 ]
机构
[1] Penn State Univ, Dept Comp Sci & Engn, University Pk, PA 16802 USA
来源
COMPUTER SCIENCE - THEORY AND APPLICATIONS | 2019年 / 11532卷
关键词
TREEWIDTH; PATHWIDTH;
D O I
10.1007/978-3-030-19955-5_4
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
An NP-hard graph problem may be intractable for general graphs but it could be efficiently solvable using dynamic programming for graphs with bounded treewidth. 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, Furer 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 count the number of Hamiltonian cycles and furthermore solve the Traveling Salesman problem, 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 solutions) to polynomial. We give an algorithm to count the number of Hamiltonian cycles in time O((4k)(d) nM(n log n)) using O(kdn 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 O((4k)(d) poly(n)) using space O(Wkdn log n), where k and d are the width and the depth of the given tree decomposition and W is the sum of weights. Furthermore, this algorithm counts the number of Hamiltonian Cycles.
引用
收藏
页码:38 / 49
页数:12
相关论文
共 18 条
[1]   DYNAMIC PROGRAMMING TREATMENT OF TRAVELLING SALESMAN PROBLEM [J].
BELLMAN, R .
JOURNAL OF THE ACM, 1962, 9 (01) :61-&
[2]   Fourier Meets Mobius: Fast Subset Convolution [J].
Bjorklund, Andreas ;
Husfeldt, Thore ;
Kaski, Petteri ;
Koivisto, Mikko .
STOC 07: PROCEEDINGS OF THE 39TH ANNUAL ACM SYMPOSIUM ON THEORY OF COMPUTING, 2007, :67-74
[3]  
Bjorklund Andreas, 2017, 44 INT C AUT LANG PR
[4]   Deterministic single exponential time algorithms for connectivity problems parameterized by treewidth [J].
Bodlaender, Hans L. ;
Cygan, Marek ;
Kratsch, Stefan ;
Nederlof, Jesper .
INFORMATION AND COMPUTATION, 2015, 243 :86-111
[5]   APPROXIMATING TREEWIDTH, PATHWIDTH, FRONTSIZE, AND SHORTEST ELIMINATION TREE [J].
BODLAENDER, HL ;
GILBERT, JR ;
HAFSTEINSSON, H ;
KLOKS, T .
JOURNAL OF ALGORITHMS, 1995, 18 (02) :238-255
[6]  
Curticapeay R, 2018, SODA'18: PROCEEDINGS OF THE TWENTY-NINTH ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, P1080
[7]  
Cygan M., 2015, PARAMETERIZED, V4, DOI [10.1007/978-3-319-21275-3, DOI 10.1007/978-3-319-21275-3]
[8]   Solving connectivity problems parameterized by treewidth in single exponential time (Extended abstract) [J].
Cygan, Marek ;
Nederlof, Jesper ;
Pilipczuk, Marcin ;
Pilipczuk, Michal ;
van Rooij, Johan M. M. ;
Wojtaszczyk, Jakub Onufry .
2011 IEEE 52ND ANNUAL SYMPOSIUM ON FOUNDATIONS OF COMPUTER SCIENCE (FOCS 2011), 2011, :150-159
[9]   Space Saving by Dynamic Algebraization Based on Tree-Depth [J].
Furer, Martin ;
Yu, Huiwen .
THEORY OF COMPUTING SYSTEMS, 2017, 61 (02) :283-304
[10]  
Karp R. M., 1982, Operations Research Letters, V1, P49, DOI 10.1016/0167-6377(82)90044-X