Relaxed Balanced Red-Black Trees

نویسندگان

  • Sabine Hanke
  • Thomas Ottmann
  • Eljas Soisalon-Soininen
چکیده

Relaxed balancing means that, in a dictionary stored as a balanced tree, the necessary rebalancing after updates may be delayed. This is in contrast to strict balancing meaning that rebalancing is performed immediately after the update. Relaxed balancing is important for efficiency in highly dynamic applications where updates can occur in bursts. The rebalancing tasks can be performed gradually after all urgent updates, allowing the concurrent use of the dictionary even though the underlying tree structure is not completely in balance. In this paper we propose a new scheme of how to make known rebalancing techniques relaxed in an efficient way. The idea is applied to the red-black trees, but can be applied to any class of balanced trees. The key idea is to accumulate insertions and deletions such that they can be settled in arbitrary order using the same rebalancing operations as for standard balanced search trees. As a result it can be shown that the number of needed rebalancing operations known from the strict balancing scheme carry over to relaxed balancing.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

The Performance of Concurrent Red-Black Tree Algorithms

Relaxed balancing has become a commonly used concept in the design of concurrent search tree algorithms. The idea of relaxed balancing is to uncouple the rebalancing from the updating in order to speed up the update operations and to allow a high degree of concurrency. Many di erent relaxed balancing algorithms have been proposed, especially for red-black trees and AVL trees, but their performa...

متن کامل

Chromatic Search Trees Revisited Institut F Ur Informatik | Report 91

Relaxed balancing of search trees was introduced with the aim of speeding up the updates and allowing a high degree of concurrency. In a relaxed version of a search tree the rebalancing operations are uncoupled from the updates and may be delayed. Using local transformations the rebalancing can be performed concurrently with updates and search operations. In this paper we revisit the rebalancin...

متن کامل

On Updating and Balancing Relaxed Balanced Search Trees in Main Memory

In this thesis, various methods for maintaining balanced search trees in main memory are considered. The work concentrates on algorithms applying relaxed balancing in which updates and rebalancing are uncoupled from each other. A new relaxed balanced tree, the rank-valued tree, which is a relaxed version of symmetric binary B-trees, also known as red-black trees, is introduced and analyzed. Ran...

متن کامل

Transactional Interference-Less Balanced Tree

The concurrent balanced tree is one of the most well-studied data structures since the transition to the multicore era. The last decade witnessed the design of many concurrent, and sometimes relaxed, versions of AVL and Red-Black trees. However, most of those designs do not support transactional accesses to the tree. In this paper, we present TxCF-Tree, a transactional balanced tree whose desig...

متن کامل

Root-Balanced Tree

Andersson [1, 2] introduced general balanced trees, search trees based on the design principle of partial rebuilding: perform update operations naively until the tree becomes too unbalanced, at which point a whole subtree is rebalanced. This article defines and analyzes a functional version of general balanced trees, which we call root-balanced trees. Using a lightweight model of execution time...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1997