Algorithms for trie compaction
- 3 June 1984
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Database Systems
- Vol. 9 (2) , 243-263
- https://doi.org/10.1145/329.295
Abstract
The trie data structure has many properties which make it especially attractive for representing large files of data. These properties include fast retrieval time, quick unsuccessful search determination, and finding the longest match to a given identifier. The main drawback is the space requirement. In this paper the concept of trie compaction is formalized. An exact algorithm for optimal trie compaction and three algorithms for approximate trie compaction are given, and an analysis of the three algorithms is done. The analysis indicate that for actual tries, reductions of around 70 percent in the space required by the uncompacted trie can be expected. The quality of the compaction is shown to be insensitive to the number of nodes, while a more relevant parameter is the alphabet size of the key.Keywords
This publication has 7 references indexed in Scilit:
- Heuristics for trie index minimizationACM Transactions on Database Systems, 1979
- The difficulty of optimum index selectionACM Transactions on Database Systems, 1978
- The Complexity of Trie Index ConstructionJournal of the ACM, 1977
- Organization and maintenance of large ordered indexesActa Informatica, 1972
- Use of tree structures for processing filesCommunications of the ACM, 1963
- Trie memoryCommunications of the ACM, 1960
- File searching using variable length keysPublished by Association for Computing Machinery (ACM) ,1959