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 条
  • [21] Exact and parameterized algorithms for the independent cutset problem
    Rauch, Johannes
    Rautenbach, Dieter
    Souza, Ueverton S.
    JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 2025, 148
  • [22] Recent advances in vehicle routing exact algorithms
    Roberto Baldacci
    Paolo Toth
    Daniele Vigo
    4OR, 2007, 5 : 269 - 298
  • [23] Exact algorithms for scheduling programs with shared tasks
    Imed Kacem
    Giorgio Lucarelli
    Théo Nazé
    Journal of Combinatorial Optimization, 2022, 43 : 1602 - 1627
  • [24] Exact algorithms for generalized combinatorial optimization problemsc
    Pop, Petrica C.
    Sitar, Corina Pop
    Zelina, Ioana
    Tascu, Ioana
    COMBINATORIAL OPTIMIZATION AND APPLICATIONS, PROCEEDINGS, 2007, 4616 : 154 - +
  • [25] Improved exact algorithms for MAX-SAT
    Chen, J
    Kanj, IA
    LATIN 2002: THEORETICAL INFORMATICS, 2002, 2286 : 341 - 355
  • [26] Exact Algorithms for Scheduling Programs with Shared Tasks
    Kacem, Imed
    Lucarelli, Giorgio
    Naze, Theo
    TRENDS AND INNOVATIONS IN INFORMATION SYSTEMS AND TECHNOLOGIES, VOL 2, 2020, 1160 : 435 - 444
  • [27] Branch and Recharge: Exact Algorithms for Generalized Domination
    Fomin, Fedor V.
    Golovach, Petr A.
    Kratochvl, Jan
    Kratsch, Dieter
    Liedloff, Mathieu
    ALGORITHMICA, 2011, 61 (02) : 252 - 273
  • [28] Recent advances in vehicle routing exact algorithms
    Baldacci, Roberto
    Toth, Paolo
    Vigo, Daniele
    4OR-A QUARTERLY JOURNAL OF OPERATIONS RESEARCH, 2007, 5 (04): : 269 - 298
  • [29] On exact and approximation algorithms for distinguishing substring selection
    Gramm, J
    Guo, J
    Niedermeier, R
    FUNDAMENTALS OF COMPUTATION THEORY, PROCEEDINGS, 2003, 2751 : 195 - 209
  • [30] Exact algorithms for scheduling programs with shared tasks
    Kacem, Imed
    Lucarelli, Giorgio
    Naze, Theo
    JOURNAL OF COMBINATORIAL OPTIMIZATION, 2022, 43 (05) : 1602 - 1627