Skip to main content

InorderBbstIterator

Short summary​

This class implements in order iteration strategy (sorted) for balanced binary search trees.

AccessAbstractFinalExtendsImplements
-NoNoAbstractBalancedBinarySearchTreeIterator-

UML Diagram​

Properties​

className​

Type: CNM_AbstractObject.ClassName

…

Methods​

fillNodeListUntilLeftMost​

Searches the smallest childnode starting with the given node.…

getNextTreeNode​

  • Return type: BOOL

Gets the next node that iterate should process.…

getStartNode​

This method is called to retrive the first node of the iteration.…

processNode​

This method appends (if they exists) the left and right child of the node to the nodelist.…

Code​

Declaration​

{attribute 'enable_dynamic_creation'}
FUNCTION_BLOCK InorderBbstIterator EXTENDS AbstractBalancedBinarySearchTreeIterator