Skip to main content

Peg-solitaire, string rewriting systems and finite automata

  • Session 5B
  • Conference paper
  • First Online:
Algorithms and Computation (ISAAC 1997)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 1350))

Included in the following conference series:

Abstract

We consider a class of length-preserving string rewriting systems and show that the set of encodings of pairs of strings < s, f > such that f can be derived from s using the rewriting rules can be accepted by finite automata. As a consequence, we show the existence of a linear time algorithm for determining the solvability of a given k x n peg-solitaire board, for any fixed k. This result is in contrast to the recent results of [UEHA] and [AVIS] that the same problem is NP-hard for n × n boards. We look at some related string rewriting systems and find conditions under which the encodings of the pairs < s, f > where f can be derived from s is regular.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. D. Avis and A. Deza 1996. Solitaire Cones, Technical Report, School of Computer Science, McGill University.

    Google Scholar 

  2. E. Berlekamp, J. Conway and R. Guy 1982. Winning Ways for Your Mathematical Plays: Vol. 1 Academic Press.

    Google Scholar 

  3. J. D. Beasley 1985. Ins and Outs of Peg Solitaire, Oxford University Press, Recreations in Mathematics Series.

    Google Scholar 

  4. R. Book and F. Otto 1993. String Rewriting Systems Springer-Verlag Graduate Texts in Computer Science.

    Google Scholar 

  5. R. Downey and M. Fellows, 1992. Fixed-parameter Intractability. Proceedings of 7th Annual Conf. on Structure in Complexity Theory, IEEE Computer Society Press, Los Alamitos, CA, 1992.

    Google Scholar 

  6. M. Frazier and C.D. Page, 1993. Prefix Grammars: An alternative characterization of regular languages, Information Processing Letters. Vol. 51, pp. 67–71.

    Google Scholar 

  7. M. Gardner, Peg Solitaire, in Unexpected Hanging and other Mathematical Diversions, Simon and Schuster, New York.

    Google Scholar 

  8. J. Hopcroft and J. Ullman 1979. Introduction to Automata Theory, Languages and Computation, Addison-Wesley Inc., Reading, Mass. (1979).

    Google Scholar 

  9. L. Kari, G. Paun, G. Rozenberg, A. Salomaa and S. Yu 1996. DNA Computing, Matching Systems and Universality, Turku Center for Computer Science, TUCS Technical Report No. 49.

    Google Scholar 

  10. Z. Manna 1974. Mathematical Theory of Computation, McGraw-Hill book company.

    Google Scholar 

  11. K. Sutner 1989. Linear Cellular Automata and the Garden-of-Eden, Mathematical Intelligencer Vol. 11, No. 2, Springer-Verlag, New York.

    Google Scholar 

  12. R. Uehara and S. Iwata 1990. Generalized Hi-Q is NP-complete, Trans IEICE 73.

    Google Scholar 

  13. E. Chang, S. Phillips and J. Ullman 1991. A Programming and Problem Solving Seminar, Stanford University, Computer Science Department Technical Report No. STAN-CS-91-1350.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Hon Wai Leong Hiroshi Imai Sanjay Jain

Rights and permissions

Reprints and permissions

Copyright information

© 1997 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Ravikvmar, B. (1997). Peg-solitaire, string rewriting systems and finite automata. In: Leong, H.W., Imai, H., Jain, S. (eds) Algorithms and Computation. ISAAC 1997. Lecture Notes in Computer Science, vol 1350. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-63890-3_26

Download citation

  • DOI: https://doi.org/10.1007/3-540-63890-3_26

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-63890-2

  • Online ISBN: 978-3-540-69662-9

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics