Los puntos clave no están disponibles para este artículo en este momento.
A new and conceptually simple data structure, called a suffix array, for on-line string searches is introduced in this paper. Constructing and querying suffix arrays is reduced to a sort and search paradigm that employs novel algorithms. The main advantage of suffix arrays over suffix trees is that, in practice, they use three to five times less space. From a complexity standpoint, suffix arrays permit on-line string searches of the type, “Is W a substring of A? ” to be answered in time O (P + N), where P is the length of W and N is the length of A, which is competitive with (and in some cases slightly better than) suffix trees. The only drawback is that in those instances where the underlying alphabet is finite and small, suffix trees can be constructed in O (N) time in the worst case, versus O (N N) time for suffix arrays. However, an augmented algorithm is given that, regardless of the alphabet size, constructs suffix arrays in O (N) expected time, albeit with lesser space efficiency. It is believed that suffix arrays will prove to be better in practice than suffix trees for many applications.
Building similarity graph...
Analyzing shared references across papers
Loading...
Udi Manber
University of Wisconsin–Madison
Gene Myers
Max Planck Institute of Molecular Cell Biology and Genetics
SIAM Journal on Computing
University of Arizona
Building similarity graph...
Analyzing shared references across papers
Loading...
Manber et al. (Fri,) studied this question.
synapsesocial.com/papers/6a0f79299e54838161fcc2d9 — DOI: https://doi.org/10.1137/0222058