String-rewriting systems
Prefix grammars: an alternative characterization of the regular languages
Information Processing Letters
Introduction to Mathematical Theory of Computation
Introduction to Mathematical Theory of Computation
Introduction To Automata Theory, Languages, And Computation
Introduction To Automata Theory, Languages, And Computation
A programming and problem solving seminar.
A programming and problem solving seminar.
RTA '09 Proceedings of the 20th International Conference on Rewriting Techniques and Applications
Hi-index | 5.23 |
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 × n peg-solitaire board, for any fixed k. This result is in contrast to the results of (13) and (1) 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.