Sign in Join
FPDoc Onlineexperiment

TAVLTreeNode.ConsistencyCheck procedure

Member of TAVLTreeNodepublicIn unit AVL_Tree

Check consistency of the node and below nodes.

Declaration

pascal
procedure ConsistencyCheck(Tree: TAVLTree); virtual

Arguments

Tree

Tree to which node belongs.

Description

ConsistencyCheck checks whether the node and nodes below are consistent, i.e. the nodes are still ordered correctly: left nodes are before right nodes.

Errors

If an inconsistency is detected, an exception is raised.

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