Loading...
Please wait, while we are loading the content...
Similar Documents
Ternary Directed Acyclic Word Graphs (2003)
Content Provider | CiteSeerX |
---|---|
Author | Miyamoto, Satoru Inenaga, Shunsuke Takeda, Masayuki Shinohara, Ayumi |
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 su#xes 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 e#ciency of TDAWGs, compared to DAWGs in which transitions are implemented by tables and linked lists. |
File Format | |
Publisher Date | 2003-01-01 |
Access Restriction | Open |
Subject Keyword | Ternary Tree Ternary Directed Acyclic Word Graph Binary Search New Data Structure Su X Linear Space Directed Acyclic Word Graph Ternary Dawgs Time-efficient Solution Effective Tree Structure |
Content Type | Text |