Welcome!
To use the personalized features of this site, please log in or register.
If you have forgotten your username or password, we can help.
My Menu
Saved Items

Ternary Directed Acyclic Word Graphs

Satoru MiyamotoContact Information, Shunsuke Inenaga6, 7 Contact Information, Masayuki Takeda6, 7 Contact Information and Ayumi Shinohara6, 7 Contact Information

(6)  Department of Informatics, Kyushu University 33, Fukuoka 812-8581, Japan
(7)  PRESTO, Japan Science and Technology Corporation (JST), Japan
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.

Contact Information Satoru Miyamoto
Email: s-miya@i.kyushu-u.ac.jp

Contact Information Shunsuke Inenaga
Email: s-ine@i.kyushu-u.ac.jp

Contact Information Masayuki Takeda
Email: takeda@i.kyushu-u.ac.jp

Contact Information Ayumi Shinohara
Email: ayumi@i.kyushu-u.ac.jp
Fulltext Preview (Small, Large)
Image of the first page of the fulltext

References secured to subscribers.



Export this chapter
Export this chapter as RIS | Text
 
Remote Address: 38.107.191.107 • Server: mpweb15
HTTP User Agent: CCBot/1.0 (+http://www.commoncrawl.org/bot.html)