Parameterized Complexity of Flood-Filling Games on Trees

This work presents new results on flood-filling games, Flood-It and Free-Flood-It, in which the player aims to make the board monochromatic with a minimum number of flooding moves. As for many colored graph problems, Flood-filling games have relevant interpretations in bioinformatics. The standard versions of Flood-It and Free-Flood-It are played on n ×m grids. In this paper we analyze the complexity of these games when played on trees. We prove that Flood-It remains NP-hard on trees whose leaves are at distance at most d = 2 from the pivot, and that Flood-It is in FPT when parameterized by the number of colors c in such trees (for any constant d). We also show that Flood-It on trees and Restricted Shortest Common Supersequence (RSCS) are analogous problems, in the sense that they can be translated from one to another, keeping complexity features; this implies that Flood-It on trees inherits several complexity results already proved for RSCS, such as some interesting FPT and W[1]-hard cases. We introduce a new variant of Flood-It, called Multi-Flood-It, where each move of the game is played on various pivots. We also present a general framework for reducibility from Flood-It to Free-Flood-It, by defining a special graph operator ψ such that Flood-It played on a graph class \(\mathcal{F}\) is reducible to Free-Flood-It played on the image of \(\mathcal{F}\) under ψ. An interesting particular case occurs when \(\mathcal{F}\) is closed under ψ. Some NP-hard cases for Free-Flood-It on trees can be derived using this approach. We conclude by showing some results on parameterized complexity for Free-Flood-It played on pc-trees (phylogenetic colored trees). We prove that some results valid for Flood-It on pc-trees can be inherited by Free-Flood-It on pc-trees, using another type of reducibility framework.

[1]  Michael R. Fellows,et al.  DNA Physical Mapping: Three Ways Difficult , 1993, ESA.

[2]  Jeong Seop Sim,et al.  The consensus string problem for a metric is NP-complete , 2003, J. Discrete Algorithms.

[3]  M. Golumbic,et al.  On the Complexity of DNA Physical Mapping , 1994 .

[4]  Dan Gusfield,et al.  Efficient algorithms for inferring evolutionary trees , 1991, Networks.

[5]  Cristina G. Fernandes,et al.  Motif Search in Graphs: Application to Metabolic Networks , 2006, IEEE/ACM Transactions on Computational Biology and Bioinformatics.

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

[7]  Michael R. Fellows,et al.  Analogs & duals of the MAST problem for sequences & trees , 2003, J. Algorithms.

[8]  Sagi Snir,et al.  Convex Recolorings of Strings and Trees: Definitions, Hardness Results and Algorithms , 2005, WADS.

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

[10]  Niklaus Wirth,et al.  Algorithms and Data Structures , 1989, Lecture Notes in Computer Science.

[11]  Fred R. McMorris,et al.  Triangulating vertex colored graphs , 1994, SODA '93.

[12]  Paola Bonizzoni,et al.  An approximation algorithm for the shortest common supersequence problem: an experimental analysis , 2001, SAC.

[13]  R. Downey,et al.  Parameterized Computational Feasibility , 1995 .

[14]  Thomas Lengauer,et al.  Algorithms—ESA '93 , 1993, Lecture Notes in Computer Science.

[15]  David Maier,et al.  The Complexity of Some Problems on Subsequences and Supersequences , 1978, JACM.

[16]  Robin Milner,et al.  On Observing Nondeterminism and Concurrency , 1980, ICALP.

[17]  Michael Trevor Hallett An integrated complexity analysis of problems from computational biology , 1998 .

[18]  Sven Rahmann The shortest common supersequence problem in a microarray production setting , 2003, ECCB.

[19]  Peter Clote,et al.  Feasible Mathematics II , 2011 .

[20]  Michael R. Fellows,et al.  The hardness of perfect phylogeny, feasible register assignment and other problems on thin colored graphs , 2000, Theor. Comput. Sci..

[21]  Edward Fredkin,et al.  Trie memory , 1960, Commun. ACM.

[22]  Michael R. Fellows,et al.  Sharp Tractability Borderlines for Finding Connected Motifs in Vertex-Colored Graphs , 2007, ICALP.

[23]  Michael R. Fellows,et al.  Connected Coloring Completion for General Graphs: Algorithms and Complexity , 2007, COCOON.

[24]  Krzysztof Pietrzak,et al.  On the parameterized complexity of the fixed alphabet shortest common supersequence and longest common subsequence problems , 2003, J. Comput. Syst. Sci..

[25]  Christoph Aschwanden,et al.  Spatial simulation model for infectious viral diseases with focus on SARS and the common flu , 2004, 37th Annual Hawaii International Conference on System Sciences, 2004. Proceedings of the.