Свойство | Тип | Описание | |
---|---|---|---|
Children | List |
||
Gene | IGPGene |
Метод | Описание | |
---|---|---|
Clone ( ) : object |
Clone the tree node.
|
|
GPCustomTreeNode ( IGPGene gene ) : System |
Initializes a new instance of the GPTreeNode class.
|
|
Generate ( IEnumerable |
||
GenerateNotes ( ) : List |
||
Repeat ( int n ) : |
||
ShiftDuration ( int val ) : void | ||
ShiftPitch ( int val ) : void | ||
Swap ( ) : void | ||
ToString ( ) : string |
Get string representation of the node. String representation of the node lists all node's children and then the node itself. Such node's string representations equals to its reverse polish notation. For example, if nodes value is '+' and its children are '3' and '5', then nodes string representation is "3 5 +". |
Метод | Описание | |
---|---|---|
GPCustomTreeNode ( ) : System |
Initializes a new instance of the GPTreeNode class.
|
public GPCustomTreeNode ( IGPGene gene ) : System | ||
gene | IGPGene | |
Результат | System |
public Generate ( IEnumerable |
||
notes | IEnumerable |
|
Результат | void |
public Repeat ( int n ) : |
||
n | int | |
Результат |