C# Class PhantomChains.AbstractNode

Tree node interface.
显示文件 Open project: intervals-mining-lab/libiada-core Class Usage Examples

Protected Properties

Property Type Description
Children List

Public Methods

Method Description
Decrement ( ) : bool

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

GetChild ( int index ) : TreeNode

Searcheck child element by its index.

Protected Methods

Method Description
Find ( BaseChain result, IGenerator generator, PhantomTable table ) : void

Choosing which child will generate next element of sequence.

Method Details

Decrement() public abstract method

Interface of recursive method decrementing variations of current branch. Also decreases variants count of current node by 1. Called after generation of another value.
public abstract Decrement ( ) : bool
return bool

Find() protected method

Choosing which child will generate next element of sequence.
protected Find ( BaseChain result, IGenerator generator, PhantomTable table ) : void
result LibiadaCore.Core.BaseChain /// Intermediate result. ///
generator IGenerator /// Random numbers generator. ///
table PhantomTable /// Phantom sequence parameters table. ///
return void

GetChild() public method

Searcheck child element by its index.
public GetChild ( int index ) : TreeNode
index int /// Index of child element. ///
return TreeNode

Property Details

Children protected_oe property

The children.
protected List Children
return List