C# Класс MathParserDataStructures.MathParserBinaryTree

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
Visit ( IVisitor visitor, MathParserTreeNode curNode ) : void

Visit all nodes in the binary tree.

Описание методов

MathParserBinaryTree() публичный Метод

public MathParserBinaryTree ( ) : System
Результат System

MathParserBinaryTree() публичный Метод

Create binary tree object with specified root.
public MathParserBinaryTree ( MathParserTreeNode root ) : System
root MathParserTreeNode
Результат System

Visit() публичный Метод

Visit all nodes in the binary tree. Left-Right-Root movement is performed.
public Visit ( IVisitor visitor ) : void
visitor IVisitor Visitor
Результат void

Visit() защищенный Метод

Visit all nodes in the binary tree.
protected Visit ( IVisitor visitor, MathParserTreeNode curNode ) : void
visitor IVisitor Visitor
curNode MathParserTreeNode Current node
Результат void