C# 클래스 PhantomChains.TreeNode

Variants tree node.
상속: AbstractNode
파일 보기 프로젝트 열기: intervals-mining-lab/libiada-core

공개 메소드들

메소드 설명
Decrement ( ) : bool

Recursive method decrementing variations of current branch. Also decreases variants count of current node by 1. Called after generation of another value.

FillChain ( BaseChain result, IGenerator generator, PhantomTable table ) : void

Method adds new element into generated sequence. And calls the same method of one of the children if sequence is incomplete.

TreeNode ( AbstractNode parent, IBaseObject content, PhantomTable table ) : System

Initializes a new instance of the TreeNode class.

메소드 상세

Decrement() 공개 메소드

Recursive method decrementing variations of current branch. Also decreases variants count of current node by 1. Called after generation of another value.
public Decrement ( ) : bool
리턴 bool

FillChain() 공개 메소드

Method adds new element into generated sequence. And calls the same method of one of the children if sequence is incomplete.
public FillChain ( BaseChain result, IGenerator generator, PhantomTable table ) : void
result LibiadaCore.Core.BaseChain /// Generated sequence. ///
generator IGenerator /// Random number generator. ///
table PhantomTable /// Parameters table. ///
리턴 void

TreeNode() 공개 메소드

Initializes a new instance of the TreeNode class.
/// Thrown if parent is null. ///
public TreeNode ( AbstractNode parent, IBaseObject content, PhantomTable table ) : System
parent AbstractNode /// Parent node. ///
content IBaseObject /// Content of the this node. ///
table PhantomTable /// Parameters table. ///
리턴 System