Ternary directed acyclic word graphs

Satoru Miyamoto, Shunsuke Inenaga, Masayuki Takeda, Ayumi Shinohara

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Given a set S of strings, a DFA accepting S offers a very time-efficient solution to the pattern matching problem over S. The key is how to implement such a DFA in the trade-off between time and space, and especially the choice of how to implement the transitions of each state is critical. Bentley and Sedgewick proposed an effective tree structure called ternary trees. The idea of ternary trees is to ‘implant’ the process of binary search for transitions into the structure of the trees themselves. This way the process of binary search becomes visible, and the implementation of the trees becomes quite easy. The directed acyclic word graph (DAWG) of a string w is the smallest DFA that accepts all suffixes of w, and requires only linear space. We apply the scheme of ternary trees to DAWGs, introducing a new data structure named ternary DAWGs (TDAWGs). We perform some experiments that show the efficiency of TDAWGs, compared to DAWGs in which transitions are implemented by tables and linked lists.

Original languageEnglish
Title of host publicationLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
EditorsOscar H. Ibarra, Zhe Dang
PublisherSpringer-Verlag
Pages108-120
Number of pages13
ISBN (Print)3540405615
Publication statusPublished - 2003 Jan 1
Externally publishedYes
Event8th International Conference on Implementation and Application of Automata, CIAA 2003 - Santa Barbara, United States
Duration: 2003 Jul 162003 Jul 18

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume2759
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Other

Other8th International Conference on Implementation and Application of Automata, CIAA 2003
CountryUnited States
CitySanta Barbara
Period03/7/1603/7/18

ASJC Scopus subject areas

  • Theoretical Computer Science
  • Computer Science(all)

Fingerprint Dive into the research topics of 'Ternary directed acyclic word graphs'. Together they form a unique fingerprint.

  • Cite this

    Miyamoto, S., Inenaga, S., Takeda, M., & Shinohara, A. (2003). Ternary directed acyclic word graphs. In O. H. Ibarra, & Z. Dang (Eds.), Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (pp. 108-120). (Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics); Vol. 2759). Springer-Verlag.