deferred class AVL_TREE_NODE [E_]
Summary
Overview
Exported features
Rotations:
  • rotate_right: AVL_TREE_NODE [E_]
    Proceeds to some reorganisation and returns the upper node.
  • rotate_left: AVL_TREE_NODE [E_]
    Proceeds to some reorganisation and returns the upper node.
out_in_tagged_out_memory
effective procedure
safe_equal: SAFE_EQUAL[E_]
writable attribute
left: AVL_TREE_NODE [E_]
writable attribute
right: AVL_TREE_NODE [E_]
writable attribute
item: E_
writable attribute
balance: INTEGER_32
writable attribute
Balance factor; either balanced (the tree is balanced), imbalanced_left (the left branch is the longer) or imbalanced_right (the right branch is the longer)
count: INTEGER_32
effective function
height: INTEGER_32
effective function
map_in (map: COLLECTION[AVL_TREE_NODE [E_]])
effective procedure
has (e: E_): BOOLEAN
effective function
Is element e in the tree?
fast_has (e: E_): BOOLEAN
effective function
Is element e in the tree?
at (e: E_): AVL_TREE_NODE [E_]
effective function
Is element e in the tree?
set_item (i: E_)
effective procedure
set_left (l: AVL_TREE_NODE [E_])
effective procedure
set_right (r: AVL_TREE_NODE [E_])
effective procedure
set_balance (b: INTEGER_32)
effective procedure
rotate_right: AVL_TREE_NODE [E_]
effective function
Proceeds to some reorganisation and returns the upper node.
rotate_left: AVL_TREE_NODE [E_]
effective function
Proceeds to some reorganisation and returns the upper node.