TY - JOUR
T1 - Packed compact tries
T2 - A fast and efficient data structure for online string processing
AU - Takagi, Takuya
AU - Inenaga, Shunsuke
AU - Sadakane, Kunihiko
AU - Arimura, Hiroki
N1 - Publisher Copyright:
Copyright © 2017 The Institute of Electronics, Information and Communication Engineers.
PY - 2017/9
Y1 - 2017/9
N2 - We present a new data structure called the packed compact trie (packed c-trie) which stores a set S of k strings of total length n in n log + O(k log n) bits of space and supports fast pattern matching queries and updates, where is the alphabet size. Assume that = log n letters are packed in a single machine word on the standard word RAM model, and let f (k; n) denote the query and update times of the dynamic predecessor/successor data structure of our choice which stores k integers from universe [1; n] in O(k log n) bits of space. Then, given a string of length m, our packed c-tries support pattern matching queries and insert/delete operations in O( m f (k; n)) worst-case time and in O( m + f (k; n)) expected time. Our experiments show that our packed c-tries are faster than the standard compact tries (a.k.a. Patricia trees) on real data sets. We also discuss applications of our packed c-tries.
AB - We present a new data structure called the packed compact trie (packed c-trie) which stores a set S of k strings of total length n in n log + O(k log n) bits of space and supports fast pattern matching queries and updates, where is the alphabet size. Assume that = log n letters are packed in a single machine word on the standard word RAM model, and let f (k; n) denote the query and update times of the dynamic predecessor/successor data structure of our choice which stores k integers from universe [1; n] in O(k log n) bits of space. Then, given a string of length m, our packed c-tries support pattern matching queries and insert/delete operations in O( m f (k; n)) worst-case time and in O( m + f (k; n)) expected time. Our experiments show that our packed c-tries are faster than the standard compact tries (a.k.a. Patricia trees) on real data sets. We also discuss applications of our packed c-tries.
UR - http://www.scopus.com/inward/record.url?scp=85028776679&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=85028776679&partnerID=8YFLogxK
U2 - 10.1587/transfun.E100.A.1785
DO - 10.1587/transfun.E100.A.1785
M3 - Article
AN - SCOPUS:85028776679
VL - E100A
SP - 1785
EP - 1793
JO - IEICE Transactions on Fundamentals of Electronics, Communications and Computer Sciences
JF - IEICE Transactions on Fundamentals of Electronics, Communications and Computer Sciences
SN - 0916-8508
IS - 9
ER -