Sign in Join
FPDoc Onlineexperiment

TIndexedAVLTree class

In unit AvgLvlTree

TAvgLvlTree - an Average Level binary Tree.

Declaration

pascal
TIndexedAVLTree = class(TAvgLvlTree)

Inheritance

  1. TIndexedAVLTree
  2. TAvgLvlTree
  3. TAvlTree

Description

TAvgLvlTree is an Average Level binary Tree. This binary tree is always balanced, so that inserting, deleting and finding a node is performed in O(log(#Nodes))

This description is the one of AvgLvlTree.TAvgLvlTree.

Properties

Itemspublic

Methods

DeletingNodeprotected
Initprotected
NodeAddedprotected
RotateLeftprotected
RotateRightprotected
SwitchPositionWithSuccessorprotected
GetNodeAtIndexpublic
NodeToIndexpublic
IndexOfpublic
ConsistencyCheckpublicCheck the consistency of the tree.
NodeToReportStrpublicCreate a textual dump of the tree.

Fields

fLastIndexprotected
fLastNodeprotected

Inherited

From TAvgLvlTree (5)

CreateObjectCompare DisposeNode FreeAndDelete OnObjectCompare OwnsObjects

From TAvlTree (47)

Add AddAscendingSequence Assign BalanceAfterDelete BalanceAfterInsert Clear Compare Count Create Delete Destroy Equals Find FindHighest FindInsertPos FindKey FindLeftMost FindLeftMostKey FindLeftMostSameKey FindLowest FindNearest FindNearestKey FindPointer FindPrecessor FindRightMost FindRightMostKey FindRightMostSameKey FindSuccessor FreeAndClear GetEnumerator GetEnumeratorHighToLow IsEqual MoveDataLeftMost MoveDataRightMost NewNode NodeClass OnCompare Remove RemovePointer ReportAsString Root SetCompares SetNodeClass SetNodeManager SetOnCompare SetOnObjectCompare WriteReportToStream

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.