Optimization at a high level of abstraction
This paper presents an optimization to an insertion algorithm for nearly complete binary search trees. The original algorithm was published recently by T.E. Gerasch in the Communications of the ACM ([Ger88]). Its insertion time is logarithmic in the best case, and linear in the worst case. With the optimization proposed here, some insertions that would require linear time with Gerasch's algorithm are handled in logarithmic time. The proposed optimization does not modify the worst case nor the best case behaviour of the algorithm.
Unable to display preview. Download preview PDF.
- [Ger88]Thomas E. Gerasch. An insertion algorithm for a minimal internal path length binary search tree. CACM, 31(5):579–585, May 1988.Google Scholar
- [Ric88]Isabelle Richard and Elie Milgrom. Optimization at a high level of abstraction. Research Report RR88-24, U.C.L., Unité d'Informatique, 1988.Google Scholar