Tesshu Hanaka , Hironori Kiya , Michael Lampis , Hirotaka Ono , Kanae Yoshiwatari
{"title":"Faster winner determination algorithms for (Colored) Arc Kayles","authors":"Tesshu Hanaka , Hironori Kiya , Michael Lampis , Hirotaka Ono , Kanae Yoshiwatari","doi":"10.1016/j.jcss.2025.103716","DOIUrl":null,"url":null,"abstract":"<div><div><span>Arc Kayles</span> and <span>Colored Arc Kayles</span> are generalized versions of well-studied combinatorial games <span>Cram</span> and <span>Domineering</span>, respectively. In <span>Arc Kayles</span>, two players alternately choose an edge to remove with its adjacent edges, and the player who cannot move is the loser. <span>Colored Arc Kayles</span> is similarly played on a graph with edges colored in black, white, or gray, in which the black (resp., white) player can choose only a gray or black (resp., white) edge. For <span>Arc Kayles</span>, the vertex cover number <em>τ</em> (i.e., the minimum size of a vertex cover) is an essential invariant because it is known that twice the vertex cover number upper bounds the number of turns of <span>Arc Kayles</span>, and for the winner determination of <span>(Colored) Arc Kayles</span>, <span><math><msup><mrow><mn>2</mn></mrow><mrow><mi>O</mi><mo>(</mo><msup><mrow><mi>τ</mi></mrow><mrow><mn>2</mn></mrow></msup><mo>)</mo></mrow></msup><msup><mrow><mi>n</mi></mrow><mrow><mi>O</mi><mo>(</mo><mn>1</mn><mo>)</mo></mrow></msup></math></span>-time algorithms are known, where <em>n</em> is the number of vertices. In this paper, we first give a polynomial kernel for <span>Colored Arc Kayles</span> parameterized by <em>τ</em>, which leads to a faster <span><math><msup><mrow><mn>2</mn></mrow><mrow><mi>O</mi><mo>(</mo><mi>τ</mi><mi>log</mi><mo></mo><mi>τ</mi><mo>)</mo></mrow></msup><msup><mrow><mi>n</mi></mrow><mrow><mi>O</mi><mo>(</mo><mn>1</mn><mo>)</mo></mrow></msup></math></span>-time algorithm for <span>Colored Arc Kayles</span>. We then focus on <span>Arc Kayles</span> on trees, and propose a <span><math><msup><mrow><mn>2.2361</mn></mrow><mrow><mi>τ</mi></mrow></msup><msup><mrow><mi>n</mi></mrow><mrow><mi>O</mi><mo>(</mo><mn>1</mn><mo>)</mo></mrow></msup></math></span>-time algorithm. Furthermore, we show that determining the winner of <span>Arc Kayles</span> on a tree can be done in <span><math><mi>O</mi><mo>(</mo><msup><mrow><mn>1.3831</mn></mrow><mrow><mi>n</mi></mrow></msup><mo>)</mo></math></span> time, which improves the best-known running time of <span><math><mi>O</mi><mo>(</mo><msup><mrow><mn>1.4143</mn></mrow><mrow><mi>n</mi></mrow></msup><mo>)</mo></math></span>. Finally, we show that <span>Colored Arc Kayles</span> is NP-hard, the first hardness result in the family of the above games.</div></div>","PeriodicalId":50224,"journal":{"name":"Journal of Computer and System Sciences","volume":"156 ","pages":"Article 103716"},"PeriodicalIF":0.9000,"publicationDate":"2025-09-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Computer and System Sciences","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0022000025000984","RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"BUSINESS, FINANCE","Score":null,"Total":0}
引用次数: 0
Abstract
Arc Kayles and Colored Arc Kayles are generalized versions of well-studied combinatorial games Cram and Domineering, respectively. In Arc Kayles, two players alternately choose an edge to remove with its adjacent edges, and the player who cannot move is the loser. Colored Arc Kayles is similarly played on a graph with edges colored in black, white, or gray, in which the black (resp., white) player can choose only a gray or black (resp., white) edge. For Arc Kayles, the vertex cover number τ (i.e., the minimum size of a vertex cover) is an essential invariant because it is known that twice the vertex cover number upper bounds the number of turns of Arc Kayles, and for the winner determination of (Colored) Arc Kayles, -time algorithms are known, where n is the number of vertices. In this paper, we first give a polynomial kernel for Colored Arc Kayles parameterized by τ, which leads to a faster -time algorithm for Colored Arc Kayles. We then focus on Arc Kayles on trees, and propose a -time algorithm. Furthermore, we show that determining the winner of Arc Kayles on a tree can be done in time, which improves the best-known running time of . Finally, we show that Colored Arc Kayles is NP-hard, the first hardness result in the family of the above games.
期刊介绍:
The Journal of Computer and System Sciences publishes original research papers in computer science and related subjects in system science, with attention to the relevant mathematical theory. Applications-oriented papers may also be accepted and they are expected to contain deep analytic evaluation of the proposed solutions.
Research areas include traditional subjects such as:
• Theory of algorithms and computability
• Formal languages
• Automata theory
Contemporary subjects such as:
• Complexity theory
• Algorithmic Complexity
• Parallel & distributed computing
• Computer networks
• Neural networks
• Computational learning theory
• Database theory & practice
• Computer modeling of complex systems
• Security and Privacy.