Abstract
This paper presents design algorithms of a trie file to answer partial-match queries. The author assumes in this paper that each field of a record is mapped into several bits which construct a bucket address into which the record is stored.
At each level of a trie, at most 2d-way branching is possible according to predetermined d bits. The problem is the allocation and the selection of the d bits at each level.
Major results are as follows;
-
1)
When data is uniform, an optimal trie is obtained.
-
2)
When queries are uniform and data is not uniform, three factors which affect the efficiency are found. A new unbalance measure is defined and a brief description of a trie construction algorithm is presented.
-
3)
When neither queries nor data is uniform, a heuristic algorithm which is based on four observations is given.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Aho, A.V. and Corasick, M.J., “Efficient string matching :An aid to bibliographic search”, CACM, 18, 6, 333–340, June 1975.
Nakatsu, N., “Studies on string manipulation problems and their applications”, Ph.D. thesis, Kyoto Univ., 1983.
Rivest, L.R., “Partial-match retrieval algorithms”, SIAM J. of Comput., 5, 1, 19–50, March 1976.
Burkhard, W.A., “Partial match retrieval”, BIT, 16, 13–31, 1976.
Burkhard, W.A., “Hashing and trie algorithms for partial match retrieval”, ACM TODS 1, 2, 175–187, June 1976.
Burkhard, W.A., “Non-uniform partial-match file designs”, Theoretical Computer Science, 5, 1–23, 1977.
Alager, V.S. and Soochan, C., “Partial match retrieval for non-uniform query distributions”, Proc. of NCC, 775–780, 1979.
Aho, A.V. and Ullman, J.D., “Optimal partial-match retrieval when fields are independently specified”, ACM TODS, 4, 2, 168–179, June 1979.
Knuth,D.E., “The art of computer programming”, 3, sorting and searching, Addison-Wesley, 1973.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 1987 Plenum Press, New York
About this chapter
Cite this chapter
Nakatsu, N. (1987). An Optimal Trie Construction Algorithm for Partial — Match Queries. In: Ghosh, S.P., Kambayashi, Y., Tanaka, K. (eds) Foundations of Data Organization. Springer, Boston, MA. https://doi.org/10.1007/978-1-4613-1881-1_32
Download citation
DOI: https://doi.org/10.1007/978-1-4613-1881-1_32
Publisher Name: Springer, Boston, MA
Print ISBN: 978-1-4612-9048-3
Online ISBN: 978-1-4613-1881-1
eBook Packages: Springer Book Archive