Sign in Join
FPDoc Onlineexperiment

TAVLTreeNode.Balance variable

Member of TAVLTreeNodepublicIn unit AVL_Tree

Balance of the current node.

Declaration

pascal
Balance: Integer

Description

Balance is the balance of the current node, that is, the Depth of the right subtree minus the depth of the left subtree. If balance is one of -1, 0, 1 then the node is considered balanced.

See also

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