Exact algorithms for Kayles

被引:6
|
作者
Bodlaender, Hans L. [1 ]
Kratsch, Dieter [2 ]
Timmer, Sjoerd T. [1 ]
机构
[1] Univ Utrecht, NL-3508 TB Utrecht, Netherlands
[2] Univ Lorraine Metz, LITA, F-57045 Metz 01, France
关键词
Graph algorithms; Exact algorithms; Combinatorial games; Analysis of algorithms; Moderately exponential time algorithms; Kayles; Independent sets;
D O I
10.1016/j.tcs.2014.09.042
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
In the game of KAYLES, two players select alternatingly a vertex from a given graph G, but may never choose a vertex that is adjacent or equal to an already chosen vertex. The last player that can select a vertex wins the game. In this paper, we give an exact algorithm to determine which player has a winning strategy in this game. To analyze the running time of the algorithm, we introduce the notion of a K-set: a nonempty set of vertices W subset of V is a K-set in a graph G = (V, E), if G[W] is connected and there exists an independent set X such that W = V - N[X]. The running time of the algorithm is bounded by a polynomial factor times the number of K-sets in G. We prove that the number of K-sets in a graph with n vertices is bounded by O(1.6052(n)). A computer-generated case analysis improves this bound to O(1.6031(n)) K-sets, and thus we have an upper bound of O(1.6031(n)) on the running time of the algorithm for KAYLES. We also show that the number of K-sets in a tree is bounded by n center dot 3(n/3) and thus KAYLEs can be solved on trees in O(1.4423(n)) time. We show that apart from a polynomial factor, the number of K-sets in a tree is sharp. As corollaries, we obtain that determining which player has a winning strategy in the games G(avoid)(POSDNF2) and G(seek)(POSDNF3) can also be determined in O(1.6031(n)) time. In G(avoid)(POSDNF2), we have a positive formula F on n Boolean variables in Disjunctive Normal Form with two variables per clause. Initially, all variables are false, and players alternately set a variable from false to true; the first player that makes F true loses the game. The game G(seek)(POSDNF3) is similar, but now there are three variables per clause, and the first player that makes F true wins the game. (C) 2014 Elsevier B.V. All rights reserved.
引用
收藏
页码:165 / 176
页数:12
相关论文
共 50 条
  • [41] Two exact algorithms for the vehicle routing problem on trees
    Mbaraga, P
    Langevin, A
    Laporte, G
    NAVAL RESEARCH LOGISTICS, 1999, 46 (01) : 75 - 89
  • [42] Exact exponential-time algorithms for finding bicliques
    Binkele-Raible, Daniel
    Fernau, Henning
    Gaspers, Serge
    Liedloff, Mathieu
    INFORMATION PROCESSING LETTERS, 2010, 111 (02) : 64 - 67
  • [43] Improving exact algorithms for MAX-2-SAT
    Shen, HO
    Zhang, HT
    ANNALS OF MATHEMATICS AND ARTIFICIAL INTELLIGENCE, 2005, 44 (04) : 419 - 436
  • [44] Exact Algorithms for Minimum Weighted Dominating Induced Matching
    Min Chih Lin
    Michel J. Mizrahi
    Jayme L. Szwarcfiter
    Algorithmica, 2017, 77 : 642 - 660
  • [45] A BOUND ON THE PATHWIDTH OF SPARSE GRAPHS WITH APPLICATIONS TO EXACT ALGORITHMS
    Kneis, Joachim
    Moelle, Daniel
    Richter, Stefan
    Rossmanith, Peter
    SIAM JOURNAL ON DISCRETE MATHEMATICS, 2009, 23 (01) : 407 - 427
  • [46] Exact quantum Fourier transforms and discrete logarithm algorithms
    Mosca, M
    Zalka, C
    INTERNATIONAL JOURNAL OF QUANTUM INFORMATION, 2004, 2 (01) : 91 - 100
  • [47] Exact algorithms for a loading problem with bounded clique width
    Moonen, Linda S.
    Spieksma, Frits C. R.
    INFORMS JOURNAL ON COMPUTING, 2006, 18 (04) : 455 - 465
  • [48] Improving exact algorithms for MAX-2-SAT
    Haiou Shen
    Hantao Zhang
    Annals of Mathematics and Artificial Intelligence, 2005, 44 : 419 - 436
  • [49] A Note on Exact Algorithms for Vertex Ordering Problems on Graphs
    Bodlaender, Hans L.
    Fomin, Fedor V.
    Koster, Arie M. C. A.
    Kratsch, Dieter
    Thilikos, Dimitrios M.
    THEORY OF COMPUTING SYSTEMS, 2012, 50 (03) : 420 - 432
  • [50] Exact and approximation algorithms for the DNA sequence assembly problem
    Elloumi, M
    Kaâbi, S
    WORLD MULTICONFERENCE ON SYSTEMICS, CYBERNETICS AND INFORMATICS, VOL 8, PROCEEDINGS: CONCEPTS AND APPLICATIONS OF SYSTEMICS, CYBERNETICS AND INFORMATICS, 1999, : 152 - 157