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 条
  • [1] On Exact Algorithms for Treewidth
    Bodlaender, Hans L.
    Fomin, Fedor V.
    Koster, Arie M. C. A.
    Kratsch, Dieter
    Thilikos, Dimitrios M.
    ACM TRANSACTIONS ON ALGORITHMS, 2012, 9 (01)
  • [2] Exact Algorithms for Intervalizing Coloured Graphs
    Hans L. Bodlaender
    Johan M. M. van Rooij
    Theory of Computing Systems, 2016, 58 : 273 - 286
  • [3] Exact Algorithms for Intervalizing Coloured Graphs
    Bodlaender, Hans L.
    van Rooij, Johan M. M.
    THEORY OF COMPUTING SYSTEMS, 2016, 58 (02) : 273 - 286
  • [4] Exact algorithms for Maximum Induced Matching
    Xiao, Mingyu
    Tan, Huan
    INFORMATION AND COMPUTATION, 2017, 256 : 196 - 211
  • [5] A generalization of Arc-Kayles
    Antoine Dailly
    Valentin Gledel
    Marc Heinrich
    International Journal of Game Theory, 2019, 48 : 491 - 511
  • [6] Sort and Search: Exact algorithms for generalized domination
    Fomin, Fedor V.
    Golovach, Petr A.
    Kratochvil, Jan
    Kratsch, Dieter
    Liedloff, Mathieu
    INFORMATION PROCESSING LETTERS, 2009, 109 (14) : 795 - 798
  • [7] A generalization of ARC-KAYLES
    Dailly, Antoine
    Gledel, Valentin
    Heinrich, Marc
    INTERNATIONAL JOURNAL OF GAME THEORY, 2019, 48 (02) : 491 - 511
  • [8] Exact Algorithms for Exact Satisfiability and Number of Perfect Matchings
    Andreas Björklund
    Thore Husfeldt
    Algorithmica, 2008, 52 : 226 - 249
  • [9] Exact algorithms for exact satisfiability and number of perfect matchings
    Bjorklund, Andreas
    Husfeldt, Thore
    ALGORITHMICA, 2008, 52 (02) : 226 - 249
  • [10] Exact algorithms for dominating set
    van Rooij, Johan M. M.
    Bodlaender, Hans L.
    DISCRETE APPLIED MATHEMATICS, 2011, 159 (17) : 2147 - 2164