Spanning Trees and the Complexity of Flood-Filling Games

We consider problems related to the combinatorial game (Free-) Flood-It, in which players aim to make a coloured graph monochromatic with the minimum possible number of flooding operations. We show that the minimum number of moves required to flood any given graph G is equal to the minimum, taken over all spanning trees T of G, of the number of moves required to flood T. This result is then applied to give two polynomial-time algorithms for flood-filling problems. Firstly, we can compute in polynomial time the minimum number of moves required to flood a graph with only a polynomial number of connected subgraphs. Secondly, given any coloured connected graph and a subset of the vertices of bounded size, the number of moves required to connect this subset can be computed in polynomial time.

[1]  Aurélie Lagoutte,et al.  Jeux d'inondation dans les graphes , 2010 .

[2]  Raphaël Clifford,et al.  The Complexity of Flood Filling Games , 2011, Theory of Computing Systems.

[3]  Xin-She Yang,et al.  Introduction to Algorithms , 2021, Nature-Inspired Optimization Algorithms.

[4]  Gerhard J. Woeginger,et al.  An Algorithmic Analysis of the Honey-Bee Game , 2010, FUN.

[5]  Kitty Meeks,et al.  The complexity of flood-filling games on graphs , 2011, Discret. Appl. Math..

[6]  Kitty Meeks,et al.  Spanning Trees and the Complexity of Flood-Filling Games , 2012, FUN.

[7]  Kitty Meeks,et al.  The complexity of Free-Flood-It on 2×n boards , 2011, Theor. Comput. Sci..

[8]  Eric Thierry,et al.  Flooding games on graphs , 2014, Discret. Appl. Math..