C# Class MathParserDataStructures.MathParserBinaryTree

ファイルを表示 Open project: FlorianRappl/YAMP Class Usage Examples

Public Methods

Method Description
MathParserBinaryTree ( ) : System
MathParserBinaryTree ( MathParserTreeNode root ) : System

Create binary tree object with specified root.

Visit ( IVisitor visitor ) : void

Visit all nodes in the binary tree. Left-Right-Root movement is performed.

Protected Methods

Method Description
Visit ( IVisitor visitor, MathParserTreeNode curNode ) : void

Visit all nodes in the binary tree.

Method Details

MathParserBinaryTree() public method

public MathParserBinaryTree ( ) : System
return System

MathParserBinaryTree() public method

Create binary tree object with specified root.
public MathParserBinaryTree ( MathParserTreeNode root ) : System
root MathParserTreeNode
return System

Visit() public method

Visit all nodes in the binary tree. Left-Right-Root movement is performed.
public Visit ( IVisitor visitor ) : void
visitor IVisitor Visitor
return void

Visit() protected method

Visit all nodes in the binary tree.
protected Visit ( IVisitor visitor, MathParserTreeNode curNode ) : void
visitor IVisitor Visitor
curNode MathParserTreeNode Current node
return void