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.
|
|
FillChain ( |
Method adds new element into generated sequence. And calls the same method of one of the children if sequence is incomplete.
|
|
TreeNode ( |
Initializes a new instance of the TreeNode class.
|
public FillChain ( |
||
result | /// Generated sequence. /// | |
generator | IGenerator | /// Random number generator. /// |
table | /// Parameters table. /// | |
Résultat | void |
public TreeNode ( |
||
parent | /// Parent node. /// | |
content | IBaseObject | /// Content of the this node. /// |
table | /// Parameters table. /// | |
Résultat | System |