Back to Search Start Over

On-line construction of suffix trees

Authors :
Ukkonen, E.
Source :
Algorithmica; September 1995, Vol. 14 Issue: 3 p249-260, 12p
Publication Year :
1995

Abstract

An on-line algorithm is presented for constructing the suffix tree for a given string in time linear in the length of the string. The new algorithm has the desirable property of processing the string symbol by symbol from left to right. It always has the suffix tree for the scanned part of the string ready. The method is developed as a linear-time version of a very simple algorithm for (quadratic size) suffixtries. Regardless of its quadratic worst case this latter algorithm can be a good practical method when the string is not too long. Another variation of this method is shown to give, in a natural way, the well-known algorithms for constructing suffix automata (DAWGs).

Details

Language :
English
ISSN :
01784617 and 14320541
Volume :
14
Issue :
3
Database :
Supplemental Index
Journal :
Algorithmica
Publication Type :
Periodical
Accession number :
ejs14946796
Full Text :
https://doi.org/10.1007/BF01206331