#include <GisSplayTree.h>
Collaboration diagram for GisSplayTree< Key, Allocator >::GisNode:

Public Member Functions | |
| GisNode () | |
Public Attributes | |
| Key * | key |
| GisNode * | left |
| left node pointer | |
| size_type | length |
| total length of intervals below this node (sequence and gaps) | |
| GisNode * | parent |
| parent node pointer | |
| GisNode * | right |
| right node pointer | |
| size_type | seq_length |
| length of sequence below this node | |
Internal nodes define left and right to be non-null and key to be null. Leaf nodes define left and right as null and key points to an interval. The length field in an internal node is always the sum of lengths of the leaf nodes in its subtree. The seq_length field is the actual length of sequence (not including gaps).
Definition at line 39 of file GisSplayTree.h.
|
|||||||||
|
Definition at line 47 of file GisSplayTree.h. |
|
|||||
|
Definition at line 46 of file GisSplayTree.h. Referenced by GisSplayTree< Key, Allocator >::deleteTree(), and GisSplayTree< Key, Allocator >::erase(). |
|
|||||
|
|||||
|
total length of intervals below this node (sequence and gaps)
Definition at line 44 of file GisSplayTree.h. Referenced by GisSplayTree< Key, Allocator >::erase(), and GisSplayTree< Key, Allocator >::recursiveFind(). |
|
|||||
|
parent node pointer
Definition at line 41 of file GisSplayTree.h. Referenced by GisSplayTree< Key, Allocator >::decrement(), GisSplayTree< Key, Allocator >::deleteTree(), GisSplayTree< Key, Allocator >::increment(), and GisSplayTree< Key, Allocator >::splay(). |
|
|||||
|
right node pointer
Definition at line 43 of file GisSplayTree.h. Referenced by GisSplayTree< Key, Allocator >::countNodes(), GisSplayTree< Key, Allocator >::decrement(), GisSplayTree< Key, Allocator >::deleteTree(), GisSplayTree< Key, Allocator >::erase(), GisSplayTree< Key, Allocator >::increment(), and GisSplayTree< Key, Allocator >::splay(). |
|
|||||
|
length of sequence below this node
Definition at line 45 of file GisSplayTree.h. Referenced by GisSplayTree< Key, Allocator >::recursiveSeqFind(). |
1.3.6