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 条
  • [31] Exact algorithms for the Equitable Traveling Salesman Problem
    Kinable, Joris
    Smeulders, Bart
    Delcour, Eline
    Spieksma, Frits C. R.
    EUROPEAN JOURNAL OF OPERATIONAL RESEARCH, 2017, 261 (02) : 475 - 485
  • [32] Resolution-Exact Algorithms for Link Robots
    Luo, Zhongdi
    Chiang, Yi-Jen
    Lien, Jyh-Ming
    Yap, Chee
    ALGORITHMIC FOUNDATIONS OF ROBOTICS XI, 2015, 107 : 353 - 370
  • [33] Exact and approximation algorithms for weighted matroid intersection
    Huang, Chien-Chung
    Kakimura, Naonori
    Kamiyama, Naoyuki
    MATHEMATICAL PROGRAMMING, 2019, 177 (1-2) : 85 - 112
  • [34] Improved exact algorithms for MAX-SAT
    Chen, JE
    Kanj, IA
    DISCRETE APPLIED MATHEMATICS, 2004, 142 (1-3) : 17 - 27
  • [35] Exact and approximation algorithms for weighted matroid intersection
    Chien-Chung Huang
    Naonori Kakimura
    Naoyuki Kamiyama
    Mathematical Programming, 2019, 177 : 85 - 112
  • [36] Exact and Parameterized Algorithms for the Independent Cutset Problem
    Rauch, Johannes
    Rautenbach, Dieter
    Souza, Ueverton S.
    FUNDAMENTALS OF COMPUTATION THEORY, FCT 2023, 2023, 14292 : 378 - 391
  • [37] Exact Algorithms for Maximum Clique: A Computational Study
    Prosser, Patrick
    ALGORITHMS, 2012, 5 (04) : 545 - 587
  • [38] Exact algorithms for multi-constrained QoS routing
    Feng, G
    CCCT 2003 VOL, 2, PROCEEDINGS: COMMUNICATIONS SYSTEMS, TECHNOLOGIES AND APPLICATIONS, 2003, : 340 - 345
  • [39] Faster Exact and Approximate Algorithms for k-cut
    Gupta, Anupam
    Lee, Euiwoong
    Li, Jason
    2018 IEEE 59TH ANNUAL SYMPOSIUM ON FOUNDATIONS OF COMPUTER SCIENCE (FOCS), 2018, : 113 - 123
  • [40] Exact and approximation algorithms for DNA tag set design
    Mandoiu, Ion I.
    Trinca, Dragos
    JOURNAL OF COMPUTATIONAL BIOLOGY, 2006, 13 (03) : 732 - 744