VERTEX NIM PLAYED ON GRAPHS - Archive ouverte HAL Accéder directement au contenu
Article Dans Une Revue Theoretical Computer Science Année : 2014

VERTEX NIM PLAYED ON GRAPHS

Eric Duchene

Résumé

Given a graph G with positive integer weights on the vertices, and a token placed on some current vertex u, two players alternately emove a positive integer weight from u and then move the token to a new current vertex adjacent to u. When the weight of a vertex is set to 0, it is removed and its neighborhood becomes a clique. The player making the last move wins. This adaptation of Nim on graphs is called Vertexnim, and slightly diff ers from the game Vertex NimG introduced by Stockman in 2004. Vertexnim can be played on both directed or undirected graphs. In this paper, we study the complexity of deciding whether a given game position of Vertexnim is winning for the fi rst or second player. In particular, we show that for undirected graphs, this problem can be solved in quadratic time. Our algorithm is also available for the game Vertex NimG, thus improving Stockman's exptime algorithm. In the directed case, we are able to compute the winning strategy in polynomial time for several instances, including circuits or digraphs with self loops.
Fichier principal
Vignette du fichier
DR12.pdf (310.71 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-00985741 , version 1 (30-04-2014)

Identifiants

  • HAL Id : hal-00985741 , version 1

Citer

Eric Duchene, Gabriel Renault. VERTEX NIM PLAYED ON GRAPHS. Theoretical Computer Science, 2014, 516, pp.20-27. ⟨hal-00985741⟩
206 Consultations
278 Téléchargements

Partager

Gmail Facebook X LinkedIn More