On lexicographic enumeration of regular and context-free languages

We show that it is possible to efficiently enumerate the words of a regular language in lexicographic order. The time needed for generating the next word is O(n) when enumerating words of length n. We also define a class of context-free languages for which efficient enumeration is possible.

Saved in:
Bibliographic Details
Main Author: Mäkinen Erkki
Format: Article
Published: 1997
Series:Acta cybernetica 13 No. 1
Kulcsszavak:Számítástechnika, Kibernetika
Subjects:
Online Access:http://acta.bibl.u-szeged.hu/12578
Description
Summary:We show that it is possible to efficiently enumerate the words of a regular language in lexicographic order. The time needed for generating the next word is O(n) when enumerating words of length n. We also define a class of context-free languages for which efficient enumeration is possible.
Physical Description:55-61
ISSN:0324-721X