LisaacTM Platform

AVL_DICTIONARY_NODE


Auxiliary class to implement AVL_DICTIONARY.
Inherit/Insert Summary
parent_avl_tree_node
parent_any_avl_dictionary_node No developed.
parent_avl_constants No developed.
 
Constructor Summary
create
 
Slot Summary
key
set_key
value
set_value
fast_at
Is element e in the tree?
occurrences
fast_occurrences
key_at
fast_key_at
occurrences start
fast_occurrences start
out_in_tagged_out_memory
left
right
item
balance
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
height
map_in
has
Is element e in the tree?
fast_has
Is element e in the tree?
at
Is element e in the tree?
set_item
set_left
set_right
set_balance
 
Creation:
make
 
Rotations:
rotate_right
Proceeds to some reorganisation and returns the upper node.
rotate_left
Proceeds to some reorganisation and returns the upper node.
 

Inherit/Insert Detail

parent_avl_tree_node

.../base/collection/low_level/avl_dictionary_node.li line #12

Section:
Inherit

Profile:
+ SelfSELFparent_avl_tree_node :Expanded  AVL_TREE_NODEK)

parent_any_avl_dictionary_node

.../base/collection/low_level/avl_dictionary_node.li line #14

Section:
Inherit

Profile:
- SelfSELFparent_any_avl_dictionary_node : ANY_AVL_DICTIONARY_NODE

parent_avl_constants

.../base/collection/low_level/avl_tree_node.li line #15

Section:
Insert

Profile:
- SelfSELFparent_avl_constants : AVL_CONSTANTS

Constructor Detail

create

.../base/collection/low_level/avl_dictionary_node.li line #136

Section:
AVL_DICTIONARY

Profile:
- SelfSELFcreate  ( v : V, k : K) : SELF

Detail slot

key

.../base/collection/low_level/avl_dictionary_node.li line #18

Section:
Public

Profile:
- SelfSELFkey : K

set_key

.../base/collection/low_level/avl_dictionary_node.li line #20

Section:
Public

Profile:
- SelfSELFset_key   i : K

value

.../base/collection/low_level/avl_dictionary_node.li line #24

Section:
AVL_DICTIONARY, AVL_DICTIONARY_NODE

Profile:
+ SelfSELFvalue : V

set_value

.../base/collection/low_level/avl_dictionary_node.li line #26

Section:
AVL_DICTIONARY, AVL_DICTIONARY_NODE

Profile:
- SelfSELFset_value   v : V

fast_at

.../base/collection/low_level/avl_dictionary_node.li line #34

Section:
AVL_DICTIONARY, AVL_DICTIONARY_NODE

Profile:
- SelfSELFfast_at   k : KAVL_DICTIONARY_NODEVK)

Description:
Is element e in the tree?

occurrences

.../base/collection/low_level/avl_dictionary_node.li line #55

Section:
AVL_DICTIONARY, AVL_DICTIONARY_NODE

Profile:
- SelfSELFoccurrences   v : VINTEGER

fast_occurrences

.../base/collection/low_level/avl_dictionary_node.li line #60

Section:
AVL_DICTIONARY, AVL_DICTIONARY_NODE

Profile:
- SelfSELFfast_occurrences   v : VINTEGER

key_at

.../base/collection/low_level/avl_dictionary_node.li line #65

Section:
AVL_DICTIONARY, AVL_DICTIONARY_NODE

Profile:
- SelfSELFkey_at   v : VK

fast_key_at

.../base/collection/low_level/avl_dictionary_node.li line #78

Section:
AVL_DICTIONARY, AVL_DICTIONARY_NODE

Profile:
- SelfSELFfast_key_at   v : VK

occurrences start

.../base/collection/low_level/avl_dictionary_node.li line #93

Section:
AVL_DICTIONARY_NODE

Profile:
- SelfSELFoccurrences   v : V  start   cnt : INTEGERINTEGER

fast_occurrences start

.../base/collection/low_level/avl_dictionary_node.li line #112

Section:
AVL_DICTIONARY_NODE

Profile:
- SelfSELFfast_occurrences   v : V  start   cnt : INTEGERINTEGER

out_in_tagged_out_memory

.../base/collection/low_level/avl_tree_node.li line #19

Section:
Public

Profile:
- SelfSELFout_in_tagged_out_memory 

left

.../base/collection/low_level/avl_tree_node.li line #40

Section:
Public

Profile:
+ SelfSELFleft : AVL_TREE_NODEV)

right

.../base/collection/low_level/avl_tree_node.li line #42

Section:
Public

Profile:
+ SelfSELFright : AVL_TREE_NODEV)

item

.../base/collection/low_level/avl_tree_node.li line #44

Section:
Public

Profile:
+ SelfSELFitem : V

balance

.../base/collection/low_level/avl_tree_node.li line #46

Section:
Public

Profile:
+ SelfSELFbalance : INTEGER

Description:
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

.../base/collection/low_level/avl_tree_node.li line #51

Section:
Public

Profile:
- SelfSELFcount : INTEGER

height

.../base/collection/low_level/avl_tree_node.li line #64

Section:
Public

Profile:
- SelfSELFheight : INTEGER

map_in

.../base/collection/low_level/avl_tree_node.li line #76

Section:
Public

Profile:
- SelfSELFmap_in   map : COLLECTIONAVL_TREE_NODEV))

has

.../base/collection/low_level/avl_tree_node.li line #93

Section:
Public

Profile:
- SelfSELFhas   e : VBOOLEAN

Description:
Is element e in the tree?

fast_has

.../base/collection/low_level/avl_tree_node.li line #108

Section:
Public

Profile:
- SelfSELFfast_has   e : VBOOLEAN

Description:
Is element e in the tree?

at

.../base/collection/low_level/avl_tree_node.li line #126

Section:
Public

Profile:
- SelfSELFat   e : VAVL_TREE_NODEV)

Description:
Is element e in the tree?

set_item

.../base/collection/low_level/avl_tree_node.li line #144

Section:
Public

Profile:
- SelfSELFset_item   i : V

set_left

.../base/collection/low_level/avl_tree_node.li line #157

Section:
Public

Profile:
- SelfSELFset_left   l : AVL_TREE_NODEV)

set_right

.../base/collection/low_level/avl_tree_node.li line #169

Section:
Public

Profile:
- SelfSELFset_right   r : AVL_TREE_NODEV)

set_balance

.../base/collection/low_level/avl_tree_node.li line #180

Section:
Public

Profile:
- SelfSELFset_balance   b : INTEGER

Creation:

make

.../base/collection/low_level/avl_dictionary_node.li line #144

Section:
AVL_DICTIONARY

Profile:
- SelfSELFmake  ( v : V, k : K)

Rotations:

rotate_right

.../base/collection/low_level/avl_tree_node.li line #194

Section:
AVL_TREE, AVL_DICTIONARY, AVL_SET

Profile:
- SelfSELFrotate_right : AVL_TREE_NODEV)

Description:
Proceeds to some reorganisation and returns the upper node.

rotate_left

.../base/collection/low_level/avl_tree_node.li line #209

Section:
AVL_TREE, AVL_DICTIONARY, AVL_SET

Profile:
- SelfSELFrotate_left : AVL_TREE_NODEV)

Description:
Proceeds to some reorganisation and returns the upper node.