Abstract
In this paper, we present an experimental investigation on the pancake problem. Also called sorting by prefix reversals (SBPR), this problem is linked to the genome rearrangement problem also called sorting by reversals (SBR). The pancake problem is a NP-hard problem. Until now, the best theoretical R-approximation was 2 with an algorithm, which gives a 1.22 experimental R-approximation on stacks with a size inferior to 70. In the current work, we used a Monte-Carlo Search (MCS) approach with nested levels and specific domain-dependent simulations. First, in order to sort large stacks of pancakes, we show that MCS is a relevant alternative to Iterative Deepening Depth First Search (IDDFS). Secondly, at a given level and with a given number of polynomial-time domain-dependent simulations, MCS is a polynomial-time algorithm as well. We observed that MCS at level 3 gives a 1.04 experimental R-approximation, which is a breakthrough. At level 1, MCS solves stacks of size 512 with an experimental R-approximation value of 1.20.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Asai, S., Kounoike, Y., Shinano, Y., Kaneko, K.: Computing the diameter of 17-pancake graph using a PC cluster. In: Nagel, W.E., Walter, W.V., Lehner, W. (eds.) Euro-Par 2006. LNCS, vol. 4128, pp. 1114–1124. Springer, Heidelberg (2006)
Auyeung, A., Abraham, A.: Estimating genome reversal distance by genetic algorithm. In: The 2003 Congress on Evolutionary Computation (CEC 2003), vol. 2, pp. 1157–1161. IEEE (2003)
Bader, D., Moret, B., Yan, M.: A linear-time algorithm for computing inversion distance between signed permutation with an experimental study. In: WADS, pp. 365–376 (2001)
Bafna, V., Pevzner, P.: Genome rearrangements and sorting by reversals. In: FoCS (1993)
Bergeron, A.: A very elementary presentation of the Hannenhalli-Pevzner theory. DAM 146(2), 134–145 (2005)
Berman, P., Hannenhalli, S.: Fast sorting by reversal. In: 7th Symposium on Combinatorial Pattern Matching, pp. 168–185 (1996)
Berman, P., Hannenhalli, S., Karpinski, M.: 1.375-approximation algorithm for sorting by reversals. Technical report, 41, DIMACS (2001)
Berman, P., Karpinski, M.: On some tighter inapproximability results. Technical report, 23, DIMACS (1999)
Bouzy, B.: Monte-Carlo fork search for cooperative path-finding. In: Cazenave, T., Winands, M.H.M., Iida, H. (eds.) Workshop on Computer Games (CGW 2013), vol. 408, pp. 1–15. CCIS (2013)
Bulteau, L.: Algorithmic aspects of genome rearrangements. Ph.D. thesis, Université de Nantes (2013)
Bulteau, L., Fertin, G., Rusu, I.: Pancake flipping is hard. In: Rovan, B., Sassone, V., Widmayer, P. (eds.) MFCS 2012. LNCS, vol. 7464, pp. 247–258. Springer, Heidelberg (2012)
Caprara, A.: Sorting by reversals is difficult. In: ICCMB, pp. 75–83 (1997)
Cazenave, T.: Nested Monte-Carlo search. In: IJCAI, pp. 456–461 (2009)
Cazenave, T.: Nested Monte-Carlo expression discovery. In: ECAI, pp. 1057–1058. Lisbon (2010)
Chitturi, B., Fahle, W., Meng, Z., Morales, L., Shields, C.O., Sudborough, I.H., Voit, W.: A (18/11)n upper bound for sorting by reversals. TCS 410, 3372–3390 (2009)
Christie, D.: A 3/2 approximation algorithm for sorting by reversals. In: 9th SIAM Symposium on Discrete Algorithms (1998)
Christie, D.: Genome rearrangement problems. Ph.D. thesis, University of Glasgow (1998)
Cibulka, J.: Average number of flips in pancake sorting. TCS 412, 822–834 (2011)
Cohen, D., Blum, M.: On the problem of sorting burnt pancakes. DAM 61(2), 105–120 (1995)
Eliahou, S., Fonlupt, C., Fromentin, J., Marion-Poty, V., Robilliard, D., Teytaud, F.: Investigating Monte-Carlo methods on the weak Schur problem. In: Middendorf, M., Blum, C. (eds.) EvoCOP 2013. LNCS, vol. 7832, pp. 191–201. Springer, Heidelberg (2013)
Fischer, J., Ginzinger, S.W.: A 2-approximation algorithm for sorting by prefix reversals. In: Brodal, G.S., Leonardi, S. (eds.) ESA 2005. LNCS, vol. 3669, pp. 415–425. Springer, Heidelberg (2005)
Gates, W., Papadimitriou, C.: Bounds for sorting by prefix reversal. Discrete Math. 27, 47–57 (1979)
Hannenhalli, S., Pevzner, P.: Transforming cabbage into turnip: polynomial algorithm for sorting signed permutations by reversals. J. ACM 46(1), 1–27 (1995)
Hayes, B.: Sorting out the genome. Am. Sci. 95, 386–391 (2007)
Helmert, M.: Landmark heuristics for the pancake problem. In: SoCS, pp. 109–110 (2010)
Heydari, M., Sudborough, H.: On the diameter of the pancake problem. J. Algorithms 25, 67–94 (1997)
Kaplan, H., Shamir, R., Tarjan, R.E.: Faster and simpler algorithm for sorting signed permutationd by reversals. In: Proceedings of the Eighth Annual ACM-SIAM Symposium on Discrete Algorithms (SODA 1997), pp. 344–351 (1997)
Kaplan, H., Verbin, E.: Efficient data structures and a new randomized approach for sorting signed permutations by reversals. In: Baeza-Yates, R., Chávez, E., Crochemore, M. (eds.) CPM 2003. LNCS, vol. 2676, pp. 170–185. Springer, Heidelberg (2003)
Kececioglu, J., Sankoff, D.: Exact and approximation algorithms for sorting by reversals with application to genome rearrangement. Algorithmica 13, 180–210 (1992)
Korf, R.: Depth-first iterative-deepening: an optimal admissible tree search. Artif. Intell. 27(1), 97–109 (1985)
Labarre, A., Cibulka, J.: Polynomial-time sortable stacks of burnt pancakes. TCS 412, 695–702 (2011)
Méhat, J., Cazenave, T.: Combining UCT and nested Monte-Carlo search for single-player general game playing. IEEE Trans. Comput. Intell. AI Games 2(4), 271–277 (2010)
Nguyen, Q., Bettayeb, S.: On the genus of pancake nerwork. IAJIT 8(3), 289 (2011)
Rokicki, T.: Pancake entry (2004). http://tomas.rokicki.com/pancake/
Rosin, C.D.: Nested rollout policy adaptation for Monte Carlo- tree search. In: IJCAI, pp. 649–654 (2011)
Soncco-Alvarez, J.L., Ayala-Rincon, M.: A genetic approach with a simple fitness function for sorting unsigned permutations by reversals. In: 7th Colombian Computing Congress (CCC). IEEE (2012)
Tannier, E., Bergeron, A., Sagot, M.F.: Advances on sorting by reversals. DAM 155(6–7), 881–888 (2006)
Tannier, E., Sagot, M.F.: Sorting by reversals in subquadratic time. In: SCPM (2004)
Tesler, G.: GRIMM: genome rearrangements web server. Bioinformatics 18(3), 492–493 (2002)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2016 Springer International Publishing Switzerland
About this paper
Cite this paper
Bouzy, B. (2016). An Experimental Investigation on the Pancake Problem. In: Cazenave, T., Winands, M., Edelkamp, S., Schiffel, S., Thielscher, M., Togelius, J. (eds) Computer Games. CGW GIGA 2015 2015. Communications in Computer and Information Science, vol 614. Springer, Cham. https://doi.org/10.1007/978-3-319-39402-2_3
Download citation
DOI: https://doi.org/10.1007/978-3-319-39402-2_3
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-39401-5
Online ISBN: 978-3-319-39402-2
eBook Packages: Computer ScienceComputer Science (R0)