On Self-stabilizing Search Trees

We introduce a self-stabilizing data structure, which we call either a min-max search tree or a max-min search tree (both abbreviated M2ST), depending on whether the root has the minimum or the maximum value in the tree. Our structure is a refinement of the standard min-max heap (or max-min heap), with additional property that every value in the left subtree of a node is less than or equal to every value in the right subtree of that node. The M2ST has all the power of a binary search tree and all the power of a min-max heap, combined; with the additional feature that maintaining balance is easy. We give a self-stabilizing algorithm for reorganizing the values of an asynchronous network with a binary tree topology into an M2ST in O(n) rounds. We then give an algorithm for reorganizing an asynchronous network with a binary tree topology, which is already in M2ST order, into binary search tree order in O(h) rounds. This result answers an open problem posed in [3].

[1]  Amos Israeli,et al.  Uniform Dynamic Self-Stabilizing Leader Election , 1997, IEEE Trans. Parallel Distributed Syst..

[2]  Svante Carlsson,et al.  The Deap-A Double-Ended Heap to Implement Double-Ended Priority Queues , 1987, Inf. Process. Lett..

[3]  Shlomi Dolev,et al.  Self Stabilization , 2004, J. Aerosp. Comput. Inf. Commun..

[4]  T. Herman,et al.  A stabilizing search tree with availability properties , 2001, Proceedings 5th International Symposium on Autonomous Decentralized Systems.

[5]  Toshimitsu Masuzawa,et al.  Available stabilizing heaps , 2001, Inf. Process. Lett..

[6]  Ajoy Kumar Datta,et al.  Snap-Stabilizing Optimal Binary Search Tree , 2005, Self-Stabilizing Systems.

[7]  Christos Makris,et al.  Reflected min-max heaps , 2003, Inf. Process. Lett..

[8]  Edsger W. Dijkstra,et al.  Self-stabilizing systems in spite of distributed control , 1974, CACM.

[9]  C. M. Khoong,et al.  Double-Ended Binomial Queues , 1993, ISAAC.

[10]  Imran A. Pirwani,et al.  A Composite Stabilizing Data Structure , 2001, WSS.

[11]  C. Pandu Rangan,et al.  Symmetric Min-Max Heap: A Simpler Data Structure for Double-Ended Priority Queue , 1999, Inf. Process. Lett..

[12]  Nicola Santoro,et al.  Min-max heaps and generalized priority queues , 1986, CACM.

[13]  Mark Allen Weiss,et al.  The relaxed min-max heap , 1993, Acta Informatica.