C# Class PhantomChains.TreeTop

Root node of variants tree.
Inheritance: AbstractNode
Afficher le fichier Open project: intervals-mining-lab/libiada-core Class Usage Examples

Méthodes publiques

Méthode Description
Decrement ( ) : bool

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

Generate ( ) : BaseChain

Method starting generation of the sequence.

TreeTop ( BaseChain source, IGenerator generator ) : LibiadaCore.Core

Initializes a new instance of the TreeTop class, representing root element of the tree.

Method Details

Decrement() public méthode

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
Résultat bool

Generate() public méthode

Method starting generation of the sequence.
public Generate ( ) : BaseChain
Résultat LibiadaCore.Core.BaseChain

TreeTop() public méthode

Initializes a new instance of the TreeTop class, representing root element of the tree.
public TreeTop ( BaseChain source, IGenerator generator ) : LibiadaCore.Core
source LibiadaCore.Core.BaseChain /// The input chain. ///
generator IGenerator /// The gen. ///
Résultat LibiadaCore.Core