Abstract
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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Arthur, D., Clifford, R., Jalsenius, M., Montanaro, A., Sach, B.: The Complexity of Flood Filling Games. In: Boldi, P., Gargano, L. (eds.) FUN 2010. LNCS, vol. 6099, pp. 307–318. Springer, Heidelberg (2010)
Aschwanden, C.: Spatial Simulation Model for Infectious Viral Disease with Focus on SARS and the Common Flu. In: Proceedings of the 37th Annual Hawaii International Conference on System Sciences. IEEE Computer Society, Washington, DC (2004)
Barone, P., Bonizzoni, P., Vedova, G.D., Mauri, G.: An Approximation Algorithm for the Shortest Common Supersequence Problem: An Experimental Analysis. In: ACM Symposium on Applied Computing, pp. 56–60 (2001)
Bodlaender, H.L., Fellows, M.R., Hallett, M.T., Wareham, T., Warnow, T.: The Hardness of Perfect Phylogeny, Feasible Register Assignment and other Problems on Thin Colored Graphs. Theoretical Computer Science 244, 167–188 (2000)
Chor, B., Fellows, M.R., Ragan, M.A., Razgon, I., Rosamond, F.A., Snir, S.: Connected Coloring Completion for General Graphs: Algorithms and Complexity. In: Lin, G. (ed.) COCOON 2007. LNCS, vol. 4598, pp. 75–85. Springer, Heidelberg (2007)
Clifford, R., Jalsenius, M., Montanaro, A., Sach, B.: The Complexity of Flood-Filling Games. Theory of Computing Systems 50(1), 72–92 (2012)
Downey, R.G., Fellows, M.R.: Parametrized Computational Feasibility. In: Clote, P., Remmel, J. (eds.) Feasible Mathematics II, pp. 219–244. Birkhauser, Boston (1995)
Fellows, M.R., Fertin, G., Hermelin, D., Vialette, S.: Sharp Tractability Borderlines for Finding Connected Motifs in Vertex-Colored Graphs. In: Arge, L., Cachin, C., Jurdziński, T., Tarlecki, A. (eds.) ICALP 2007. LNCS, vol. 4596, pp. 340–351. Springer, Heidelberg (2007)
Fellows, M.R., Hallett, M.T., Stege, U.: Analogs & Duals of the MAST problem for Sequences & Trees. Journal of Algorithms 49(1), 192–216 (2003)
Fellows, M.R., Hallett, M.T., Wareham, H.T.: DNA Physical Mapping: Three Ways Difficult. In: Lengauer, T. (ed.) ESA 1993. LNCS, vol. 726, pp. 157–168. Springer, Heidelberg (1993)
Fredkin, E.: Trie Memory. Communications of the ACM 3, 490–499 (1960)
Golumbic, M., Kaplan, H., Shamir, R.: On the Complexity of DNA Physical Mapping. Advances in Applied Mathematics 15, 251–261 (1994)
Gusfield, D.: Efficient Algorithms for Inferring Evolutionary Trees. Networks 21, 19–28 (1981)
Hallett, M.T.: An Integrated Complexity Analysis of Problems from Computational Biology. PhD thesis, University of Victoria (1996)
Lacroix, V., Fernandes, C.G., Sagot, M.F.: Motif Search in Graphs: Application to Metabolic Networks. IEEE/ACM Transactions on Computational Biology and Bioinformatics 3(4), 360–368 (2006)
Lagoutte, A., Noual, M., Thierry, E.: Flooding Games on Graphs, HAL: hal-00653714 (December 2011)
Maier, D.: The Complexity of Some Problems on Subsequences and Supersequences. Journal of the ACM 25(2), 322–336 (1978)
McMorris, F.R., Warnow, T.J., Wimer, T.: Triangulating Vertex-Colored Graphs. SIAM Journal on Discrete Mathematics 7(2), 296–306 (1994)
Meeks, K., Scott, A.: The Complexity of Flood-Filling Games on Graphs. Discrete Applied Mathematics 160, 959–969 (2012)
Meeks, K., Scott, A.: The Complexity of Free-Flood-It on 2 ×n Boards, arXiv:1101.5518v1 [cs.DS] (January 2011)
Moran, S., Snir, S.: Convex Recolorings of Strings and Trees: Definitions, Hardness Results and Algorithms. In: Dehne, F., López-Ortiz, A., Sack, J.-R. (eds.) WADS 2005. LNCS, vol. 3608, pp. 218–232. Springer, Heidelberg (2005)
Pietrzak, K.: On the Parameterized Complexity of the Fixed Alphabet Shortest Common Supersequence and Longest Common Subsequence Problems. Journal of Computer and System Sciences 67(4), 757–771 (2003)
Rahmann, S.: The Shortest Common Supersequence Problem in a Microarray Production Setting. Bioinformatics 19(suppl. 2), ii156–ii161 (2003)
Sim, J., Park, K.: The Consensus String Problem for a Metric is NP-complete. Journal of Discrete Algorithms 1(1), 111–117 (2003)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2013 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
dos Santos Souza, U., Protti, F., da Silva, M.D. (2013). Parameterized Complexity of Flood-Filling Games on Trees. In: Du, DZ., Zhang, G. (eds) Computing and Combinatorics. COCOON 2013. Lecture Notes in Computer Science, vol 7936. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-38768-5_47
Download citation
DOI: https://doi.org/10.1007/978-3-642-38768-5_47
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-38767-8
Online ISBN: 978-3-642-38768-5
eBook Packages: Computer ScienceComputer Science (R0)