Hostname: page-component-586b7cd67f-t8hqh Total loading time: 0 Render date: 2024-11-24T14:48:29.385Z Has data issue: false hasContentIssue false

Words over an ordered alphabet and suffix permutations

Published online by Cambridge University Press:  15 December 2002

Jean-Pierre Duval
Affiliation:
LIFAR-ABISS, Faculté des Sciences, Université de Rouen, 76821 Mont-Saint-Aignan Cedex, France; [email protected].
Arnaud Lefebvre
Affiliation:
ABISS, UMR 6037 du CNRS, Faculté des Sciences, Université de Rouen, 76821 Mont-Saint-Aignan Cedex, France; [email protected].
Get access

Abstract

Given an ordered alphabet and a permutation, according to the lexicographic order, on the set of suffixes of a word w, we present in this article a linear time and space method to determine whether a word w' has the same permutation on its suffixes. Using this method, we are then also able to build the class of all the words having the same permutation on their suffixes, first of all the smallest one. Finally, we note that this work can lead to a method for generating a Lyndon word randomly in linear time or for computing the set of Lyndon words of length n .

Type
Research Article
Copyright
© EDP Sciences, 2002

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

References

M. Crochemore, C. Hancart and T. Lecroq, Algorithmique du texte. Vuibert (2001).
Duval, J.-P., Factorizing Words over an Ordered Alphabet. J. Algorithms 4 (1983) 363-381. CrossRef
McCreight, E.M., Space-Economical Suffix Tree Construction Al, Agorithm. J. Algorithms 23 (1976) 262-272.
C. Hohlweg and C. Reutenauer, Lyndon words, permutations and trees, Rapport interne 2002-017. Université Louis Pasteur de Strasbourg.