Linear-size suffix tries and linear-size CDAWGs simplified and improved
The linear-size suffix tries ( LSTries ) (Crochemore et al. in Theor Comput Sci 638:171–178, 2016) are a version of suffix trees in which the edge labels are single characters, yet are able to perform pattern matching queries in optimal time. Instead of explicitly storing the input text, LSTries hav...
Gespeichert in:
Veröffentlicht in: | Acta informatica 2024-12, Vol.61 (4), p.445-468 |
---|---|
1. Verfasser: | |
Format: | Artikel |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The
linear-size suffix tries
(
LSTries
) (Crochemore et al. in Theor Comput Sci 638:171–178, 2016) are a version of suffix trees in which the edge labels are single characters, yet are able to perform pattern matching queries in optimal time. Instead of explicitly storing the input text, LSTries have some extra non-branching internal nodes called
type-2
nodes. The extended techniques are then used in the
linear-size compact directed acyclic word graphs
(
LCDAWGs
) (Takagi et al., in: SPIRE 2017, pp. 304–316, 2017), which can be stored with
O
(
el
(
T
)
+
er
(
T
)
)
space (i.e. without the text), where
el
(
T
)
and
er
(
T
)
are the numbers of left- and right-extensions of the maximal repeats in the input text string
T
, respectively. In this paper, we present simpler alternatives to the aforementioned indexing structures, called the
simplified LSTries
(
simLSTries
) and the
simplified LCDAWGs
(
simLCDAWGs
), in which most of the type-2 nodes are removed. In particular, our simLCDAWGs require only
O
(
er
(
T
)
)
space and work in a weaker model of computation (i.e. the pointer machine model). This contrasts the
O
(
er
(
T
)
)
-space CDAWG representation of Belazzougui and Cunial (in: Proceedings of the 24th international symposium on string processing and information retrieval, pp. 161–175, 2017), which works on the word RAM model. |
---|---|
ISSN: | 0001-5903 1432-0525 |
DOI: | 10.1007/s00236-024-00465-9 |