Relaxed Balance through Standard Rotations
نویسندگان
چکیده
We consider binary search trees, where rebalancing transformations need not be connected with updates but may be delayed. For standard AVL tree rebalancing, we prove that even though the rebalancing operations are un-coupled from updates, their total number is bounded by O(M log(M +N)), where M is the number of updates to an AVL tree of initial size N. Hence, relaxed balancing of AVL trees comes at no extra cost asymptotically. Furthermore , our scheme diiers from most other relaxed balancing schemes in an important aspect: No rebalancing transformation can be done in the wrong direction, i.e., no performed rotation can make the tree less balanced. Moreover, each performed rotation indeed corresponds to a real imbalance situation in the tree. Our results are important in designing eecient concurrency control strategies for main-memory databases. Main-memory search structures have gained new applications in large embedded systems, such as switching systems for mobile telephones.
منابع مشابه
Flexoelectric rotation of polarization in ferroelectric thin films.
Strain engineering enables modification of the properties of thin films using the stress from the substrates on which they are grown. Strain may be relaxed, however, and this can also modify the properties thanks to the coupling between strain gradient and polarization known as flexoelectricity. Here we have studied the strain distribution inside epitaxial films of the archetypal ferroelectric ...
متن کاملPipelined RLS adaptive architecture using relaxed Givens rotations (RGR)
In this paper, we focus on developing a new relaxed Givens rotations (RGR)-RLS algorithm and the corresponding RGR-RLS systolic array. The resulting algorithm and architecture possess fine-grain pipelining, nearly the same convergence as the QRD-RLS, good robustness for , and square-root free computation with a little area overhead.
متن کاملComplexity of Layered Binary Search Trees with Relaxed Balance
When search trees are made relaxed, balance constraints are weakened such that updates can be made without immediate rebalancing. This can lead to a speed-up in some circumstances. However, the weakened balance constraints also make it more challenging to prove complexity results for relaxed structures. In our opinion, one of the simplest and most intuitive presentations of balanced search tree...
متن کاملIncorporating voluntary knee flexion into nonanticipatory balance corrections.
Knee movements play a critical role in most balance corrections. Loss of knee flexibility may cause postural instability. Conversely, trained voluntary knee flexions executed during balance corrections might help to overcome balance deficits. We examined whether bilateral knee flexion could be added to automatic balance corrections generated by sudden balance perturbations. We investigated how ...
متن کاملVariants of ( a ; b ) - Trees with Relaxed
New variants of (a; b)-trees with relaxed balance are proposed. These variants have better space utilization than the earlier proposals, while the asymptotic complexity of rebalancing is unchanged. The proof of complexity , which is derived, is much simpler than the ones previously published. Through experiments, some of the most interesting applications of this data structure are modeled, and ...
متن کامل