The balanced binary search trees whose only balancing operation is join, beyond the book, and the operations on ordered sets and maps built on it, sequential and parallel.
More...
|
| concept | ADS::JoinAdaptor |
| | the nodes of a binary search tree as the algorithms based on join see them: nil(), the empty tree; left(), right(), key(), value() and size(), the reading of a node (size() of nil is 0); expose( t , l , r ), which takes off the children of \( t \) into \( l \) and \( r \), so that \( t \) is a node alone; connect( m , l , r ), which hangs \( l \) and \( r \) under the node alone \( m \) and updates what \( m \) keeps of its subtree (its size, its height, its augmented value, the parents of \( l \) and \( r \)); dispose( t ), which frees the subtree \( t \) (nothing for nil); rank( t ), the rank of a tree, and childRank( t , r , c ), that of the child \( c \) of \( t \) of rank \( r \), in \( O( 1 ) \); join( l , rl , m , r , rr ), the join of the balancing scheme, which returns the root and its rank
|
|
| struct | ADS::AVLJoin< A > |
| | the join of the AVL trees; A gives also height( t ), -1 for nil, which connect() keeps More...
|
| struct | ADS::RedBlackJoin< A > |
| | the join of the Red-Black trees, whose ranks are the black heights; A gives also red( t ), false for nil, and paint( t , red ) More...
|
| struct | ADS::WeightBalancedJoin< A > |
| | the join of the trees balanced by weight, with \( \alpha = 0.29 \) More...
|
| struct | ADS::TreapJoin< A > |
| | the join of the treaps; A gives also priority( t ), of a node More...
|
| struct | ADS::JoinAlgorithms< A > |
| | the algorithms on the trees whose only balancing is the join of A; each of them consumes the trees it is given and returns the trees it makes More...
|
| struct | ADS::TakeSecond |
| | the value of the second tree, or of the batch, on a key in both More...
|
| struct | ADS::TakeFirst |
| | the value of the first tree on a key in both More...
|
| class | ADS::Joinable< T, A, Key, Value > |
| | the operations based on join of the tree T of keys Key and values Value, whose nodes A adapts [see JoinAdaptor], each the function of JoinAlgorithms of the same name: a base of T (which makes A its friend); A is read only in the bodies, as T is incomplete where its bases are named, and gives take( t ), the root of \( t \) taken out of it, which is left empty; put( t , r ), \( r \) the new root of the empty \( t \), which updates its size; peek( t ), its root; fresh( t ), an empty tree like \( t \); valid( t ), the invariant of \( t \); salt( t ) and make( k , v , s , i ), a node alone of the pair \( ( k , v ) \), the \( i \)-th of a batch of salt \( s \), which may be called in parallel More...
|
The balanced binary search trees whose only balancing operation is join, beyond the book, and the operations on ordered sets and maps built on it, sequential and parallel.
The definitions, the invariants and the costs of the area are in Theory of trees.