English

Spanning trees and the complexity of flood-filling games

Data Structures and Algorithms 2013-06-14 v3

Abstract

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.

Keywords

Cite

@article{arxiv.1203.2538,
  title  = {Spanning trees and the complexity of flood-filling games},
  author = {Kitty Meeks and Alexander Scott},
  journal= {arXiv preprint arXiv:1203.2538},
  year   = {2013}
}

Comments

Final typos corrected