Weighted dynamic finger in binary search trees

10/03/2018
by   John Iacono, et al.
0

It is shown that the online binary search tree data structure GreedyASS performs asymptotically as well on a sufficiently long sequence of searches as any static binary search tree where each search begins from the previous search (rather than the root). This bound is known to be equivalent to assigning each item i in the search tree a positive weight w_i and bounding the search cost of an item in the search sequence s_1,...,s_m by O(1+ ∑_(s_i-1,s_i) ≤ x ≤(s_i-1,s_i)w_x/(w_s_i,w_s_i-1)) amortized. This result is the strongest finger-type bound to be proven for binary search trees. By setting the weights to be equal, one observes that our bound implies the dynamic finger bound. Compared to the previous proof of the dynamic finger bound for Splay trees, our result is significantly shorter, stronger, simpler, and has reasonable constants.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset