AliITSIntMap() | |
AliITSIntMap(const AliITSIntMap& imap) | |
AliITSIntMap(AliITSIntMapNode* root, UInt_t nrEntries) | |
virtual | ~AliITSIntMap() |
void | Balance() |
void | Clear() |
AliITSIntMap* | Clone() const |
AliITSIntMapNode* | Find(Int_t key) const |
Int_t | GetKeyIndex(UInt_t index) |
UInt_t | GetNrEntries() const |
UInt_t | GetTreeHeight() const |
Int_t | GetVal(Int_t key) const |
Int_t | GetValIndex(UInt_t index) |
Bool_t | Insert(Int_t key, Int_t val) |
AliITSIntMap& | operator=(const AliITSIntMap& imap) |
Bool_t | Pop(Int_t& key, Int_t& val) |
void | PrepareSerialize() |
void | PrepareSerializeOrdered() |
void | PrintEntries() const |
Bool_t | Remove(Int_t key) |
AliITSIntMapNode* | BalanceNode(Int_t lowInd, Int_t highInd) |
void | ClearFastAccess() |
void | ClearNode(AliITSIntMapNode*& node) |
AliITSIntMapNode* | CloneNode(AliITSIntMapNode* node) const |
AliITSIntMapNode* | FindMaxNode(AliITSIntMapNode* node) const |
AliITSIntMapNode* | FindMinNode(AliITSIntMapNode* node) const |
AliITSIntMapNode* | FindNode(Int_t key, AliITSIntMapNode* node, UInt_t height) const |
AliITSIntMapNode* | FindNodeIndex(UInt_t index, AliITSIntMapNode* node) const |
UInt_t | GetTreeHeightNode(AliITSIntMapNode* node) const |
void | InitFastAccess() |
void | InitFastAccessNode(AliITSIntMapNode* node) |
void | InitFastAccessSerialize() |
void | InitFastAccessSerializeNode(AliITSIntMapNode* node) |
void | InsertNode(Int_t key, Int_t val, AliITSIntMapNode*& node, UInt_t height) |
void | PrintNode(AliITSIntMapNode* node) const |
void | RemoveNode(Int_t key, AliITSIntMapNode*& node) |
UInt_t | fDummyIndex | dummy index used when traversing tree |
Bool_t | fFastAccess | is fast access array initialized (key ordered)? |
AliITSIntMapNode** | fFastAccessArray | array of pointers to nodes |
Bool_t | fFastAccessSerialize | is fast access array initialized (tree ordered)? |
UInt_t | fNrEntries | nr of entries in map |
AliITSIntMapNode* | fRoot | link to first node of tree |
Inheritance Chart: | |||||
|
insert a new node into the map (returns true if the node was not present before)
method to insert a node in the tree (used recursively)
method to remove a node in the tree (used recursively)
returns the node with smallest key in the sub tree starting from node
returns the node with largest key in the sub tree starting from node
method to find a node in the tree (used recursively)
balances the tree by selecting the center of an index range (used recursively)
initializes the fast access array starting from node (used recursively)
initializes the fast access array for tree ordering starting from node (used recursively)
returns the key of the node at position 'index' in the map returns -1 if out of bounds
returns the value of the node at position 'index' in the map returns -1 if out of bounds
method to find the index:th node in the tree (used recursively) this method should not be needed anymore, since GetKeyIndex/GetValIndex is faster
method to print node entry (key,value) (used recursively)
returns tree height for the sub tree starting from node (used recursively)