Average Cost of Duval's Algorithm for Generating Lyndon Words

Abstract

Berstel, J. and M. Pocchiola, Average cost of Duval’s algorithm for generating Lyndon words, Theoretical Computer Science 132 (1994) 415-425. The average cost of Duval’s algorithm for generating all Lyndon words up to a given length in lexicographic order is proved to be asymptotically equal to (q+ l)/(ql), where 4 is the size of the underlying alphabet. In particular, the average cost is independent of the length of the words generated. A precise evaluation of the constants is also given.

DOI: 10.1016/0304-3975(94)00013-1

2 Figures and Tables

Cite this paper

@article{Berstel1994AverageCO, title={Average Cost of Duval's Algorithm for Generating Lyndon Words}, author={Jean Berstel and Michel Pocchiola}, journal={Theor. Comput. Sci.}, year={1994}, volume={132}, pages={415-425} }