AN EFFICIENT IMPLEMENTATION OF TRIE STRUCTURES

被引:60
作者
AOE, JI [1 ]
MORIMOTO, K [1 ]
SATO, T [1 ]
机构
[1] OSAKA KYOIKU UNIV,DEPT ARTS & SCI,IKEDA 563,JAPAN
关键词
DICTIONARY; INFORMATION RETRIEVAL; KEY RETRIEVAL STRATEGIES; NATURAL LANGUAGE PROCESSING;
D O I
10.1002/spe.4380220902
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
A new internal array structure, called a double-array, implementing a trie structure is presented. The double-array combines the fast access of a matrix form with the compactness of a list form. The algorithms for retrieval, insertion and deletion are introduced through examples. Although insertion is rather slow, it is still practical, and both the deletion and the retrieval time can be improved from the list form. From the comparison with the list for various large sets of keys, it is shown that the size of the double-array can be about 17 per cent smaller than that of the list, and that the retrieval speed of the double-array can be from 3.1 to 5.1 times faster than that of the list.
引用
收藏
页码:695 / 721
页数:27
相关论文
共 11 条
[1]   A METHOD FOR IMPROVING STRING PATTERN-MATCHING MACHINES [J].
AOE, J ;
YAMAMOTO, Y ;
SHIMADA, R .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1984, 10 (01) :116-120
[2]   A PRACTICAL METHOD FOR REDUCING SPARSE MATRICES WITH INVARIANT ENTRIES [J].
AOE, J ;
YAMAMOTO, Y ;
SHIMADA, R .
INTERNATIONAL JOURNAL OF COMPUTER MATHEMATICS, 1982, 12 (02) :97-111
[3]  
AOE J, 1985, 1ST P INT C SUP SYST, P491
[4]  
AOE J, 1987, 2ND P INT C SUP, P361
[5]   IMPLEMENTING DYNAMIC MINIMAL-PREFIX TRIES [J].
DUNDAS, JA .
SOFTWARE-PRACTICE & EXPERIENCE, 1991, 21 (10) :1027-1040
[6]   TRIE MEMORY [J].
FREDKIN, E .
COMMUNICATIONS OF THE ACM, 1960, 3 (09) :490-499
[7]  
Knuth D.E., 1973, ART COMPUTER PROGRAM, V1, P295
[8]  
KNUTH DE, 1973, ART COMPUTER PROGRAM, V3, P481
[9]   COMPRESSED TRIES [J].
MALY, K .
COMMUNICATIONS OF THE ACM, 1976, 19 (07) :409-415
[10]  
PETERSON JL, 1980, LECTURE NOTES COMPUT