Winner Determination Algorithms for Graph Games with Matching Structures

Tesshu Hanaka, Hironori Kiya, Hirotaka Ono, Kanae Yoshiwatari

Research output: Contribution to journalArticlepeer-review

Abstract

Cram, Domineering, and Arc Kayles are well-studied combinatorial games. They are interpreted as edge-selecting-type games on graphs, and the selected edges during a game form a matching. In this paper, we define a generalized game called Colored Arc Kayles, which includes these games. Colored Arc Kayles is played on a graph whose edges are colored in black, white, or gray, and black (resp., white) edges can be selected only by the black (resp., white) player, while gray edges can be selected by both black and white players. We first observe that the winner determination for Colored Arc Kayles can be done in O(2n) time by a simple algorithm, where n is the order of the input graph. We then focus on the vertex cover number, which is linearly related to the number of turns, and show that Colored Arc Kayles, BW-Arc Kayles, and Arc Kayles are solved in time O(1.4143τ2+3.17τ), O(1.3161τ2+4τ), and O(1.1893τ2+6.34τ), respectively, where τ is the vertex cover number. Furthermore, we present an O((n/ν+1)ν)-time algorithm for Arc Kayles, where ν is neighborhood diversity. We finally show that Arc Kayles on trees can be solved in O(2n/2)(=O(1.4143n)) time, which improves O(3n/3)(=O(1.4423n)) by a direct adjustment of the analysis of Bodlaender et al.’s O(3n/3)-time algorithm for Node Kayles.

Original languageEnglish
Pages (from-to)808-824
Number of pages17
JournalAlgorithmica
Volume86
Issue number3
DOIs
Publication statusPublished - Mar 2024

All Science Journal Classification (ASJC) codes

  • General Computer Science
  • Computer Science Applications
  • Applied Mathematics

Fingerprint

Dive into the research topics of 'Winner Determination Algorithms for Graph Games with Matching Structures'. Together they form a unique fingerprint.

Cite this