A Ternary Search Trie (TST) is a highly efficient dynamic dictionary structure applicable for strings and textual data. The strings are accessed based on a set of access probabilities and are to be arranged using a TST. We consider the scenario where the Probabilities are not known a priori, and is time-invariant. Our aim is to adaptively restructure the TST so as to yield the best access or retrieval time. Unlike the case of lists and binary search trees, where numerous methods have been proposed, in the case of the TST, currently, the number of reported adaptive schemes are few. In this paper, we consider various self-organizing schemes that were applied to Binary Search Trees, and apply them to TSTs . Three new schemes, which are the splaying, the conditional rotation and the randomization heuristics, have been proposed, tested and comparatively presented. The results demonstrate that the conditional rotation heuristic is the best when compared to other heuristics that are considered in the paper. As far as we know, this paper reports the first search-based adaptive strategies for TSTs. Copyright 2005 ACM.

Additional Metadata
Persistent URL dx.doi.org/10.1145/1167350.1167389
Conference 43rd Annual Association for Computing Machinery Southeast Conference, ACMSE '05
Badr, G. (G.), & Oommen, J. (2005). On using conditional rotations and randomized heuristics for self-organizing ternary search tries. In Proceedings of the Annual Southeast Conference (pp. 1109–1115). doi:10.1145/1167350.1167389