Dynamic Z-Fast Tries

被引:0
|
作者
Belazzougui, Djamal [1 ]
Boldi, Paolo [2 ]
Vigna, Sebastiano [2 ]
机构
[1] Univ Paris 07, F-75221 Paris 05, France
[2] Univ degli Studi di Milano, Milan, Italy
来源
STRING PROCESSING AND INFORMATION RETRIEVAL | 2010年 / 6393卷
关键词
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
We describe a dynamic version of the z-fast trie, a new data structure inspired by the research started by the van Emde Boas trees [12] and followed by the development of y-fast tries [13]. The dynamic z-fast trie is a very simple, uniform data structure: given a set S of n variablelength strings, it is formed by a standard compacted trie on S (with two additional pointers per node), endowed with a dictionary of size n - 1. With this simple setup, the dynamic z-fast trie provides predecessors/successors in time O(log max{vertical bar x vertical bar, vertical bar x(+)vertical bar, vertical bar x(-)vertical bar}) (x(+/-) is the successor/predecessor of x in S) for strings of length linear in the machineword size w. Prefix queries are answered in time O(log vertical bar x vertical bar + k), and range queries in time O(log max{vertical bar x vertical bar, vertical bar y vertical bar, vertical bar x(-)vertical bar, vertical bar y(+)vertical bar} k), where k is the number of elements in the output and x (and y) represent the input of the prefix (range) queries. Updates are performed within the same bounds in expectation (or with high probability using an appropriate dictionary). We then show a simple modification that makes it possible to handle strings of length up to 2(w); in this case, predecessor/successor queries and updates are supported in O(vertical bar x vertical bar/w + log max{vertical bar x vertical bar, vertical bar x(+)vertical bar, vertical bar x(-)vertical bar}) time, (and O(vertical bar x vertical bar/B + log max{vertical bar x vertical bar, vertical bar x(+)vertical bar,vertical bar x(-)vertical bar}) I/Os in the cache-oblivious model) with high probability. The space occupied by a dynamic z-fast trie, beside that necessary to store S, is just of 12n pointers, n integers and, in the "long string" case, O(n) signatures of (w) bits each.
引用
收藏
页码:159 / +
页数:2
相关论文
共 50 条
  • [21] Compressed double-array tries for string dictionaries supporting fast lookup
    Shunsuke Kanda
    Kazuhiro Morita
    Masao Fuketa
    Knowledge and Information Systems, 2017, 51 : 1023 - 1042
  • [22] Compressed double-array tries for string dictionaries supporting fast lookup
    Kanda, Shunsuke
    Morita, Kazuhiro
    Fuketa, Masao
    KNOWLEDGE AND INFORMATION SYSTEMS, 2017, 51 (03) : 1023 - 1042
  • [23] Packed Compact Tries: A Fast and Efficient Data Structure for Online String Processing
    Takagi, Takuya
    Inenaga, Shunsuke
    Sadakane, Kunihiko
    Arimura, Hiroki
    IEICE TRANSACTIONS ON FUNDAMENTALS OF ELECTRONICS COMMUNICATIONS AND COMPUTER SCIENCES, 2017, E100A (09) : 1785 - 1793
  • [24] Packed Compact Tries: A Fast and Efficient Data Structure for Online String Processing
    Takagi, Takuya
    Inenaga, Shunsuke
    Sadakane, Kunihiko
    Arimura, Hiroki
    COMBINATORIAL ALGORITHMS, 2016, 9843 : 213 - 225
  • [25] Development of TRIP: Fast sparse multivariate polynomial multiplication using burst tries
    Gastineau, Mickael
    Laskar, Jacques
    COMPUTATIONAL SCIENCE - ICCS 2006, PT 2, PROCEEDINGS, 2006, 3992 : 446 - 453
  • [26] Cache-conscious sorting of large sets of strings with dynamic tries
    Sinha, R
    Zobel, J
    PROCEEDINGS OF THE FIFTH WORKSHOP ON ALGORITHM ENGINEERING AND EXPERIMENT, 2003, : 93 - 105
  • [27] FAST Z-PINCH
    DIMARCO, JN
    BURKHARD.LC
    BULLETIN OF THE AMERICAN PHYSICAL SOCIETY, 1970, 15 (11): : 1447 - &
  • [28] A FAST Z-PINCH
    DIMARCO, JN
    BURKHARD.LC
    BULLETIN OF THE AMERICAN PHYSICAL SOCIETY, 1969, 14 (11): : 1015 - &
  • [29] The physics of fast Z pinches
    Ryutov, DD
    Derzon, MS
    Matzen, MK
    REVIEWS OF MODERN PHYSICS, 2000, 72 (01) : 167 - 223
  • [30] The effect of zoledronic acid on aromatase inhibitor-associated bone loss in postmenopausal women with early breast cancer receiving adjuvant letrozole: the Z-FAST study 36-month follow-up
    Brufsky, A.
    Bosserman, L.
    Caradonna, R.
    Haley, B.
    Jones, M.
    Moore, H.
    Doug, M.
    Warsi, G.
    Lacerna, L.
    Perez, E.
    BREAST CANCER RESEARCH AND TREATMENT, 2007, 106 : S8 - S9