C# 클래스 Accord.Genetic.GPTreeNode

Represents tree node of genetic programming tree.

In genetic programming a chromosome is represented by a tree, which is represented by GPTreeChromosome class. The GPTreeNode class represents single node of such genetic programming tree.

Each node may or may not have children. This means that particular node of a genetic programming tree may represent its sub tree or even entire tree.

상속: ICloneable
파일 보기 프로젝트 열기: accord-net/framework 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Children List
Gene IGPGene

공개 메소드들

메소드 설명
Clone ( ) : object

Clone the tree node.

GPTreeNode ( IGPGene gene ) : System

Initializes a new instance of the GPTreeNode class.

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 +".

비공개 메소드들

메소드 설명
GPTreeNode ( ) : System

Initializes a new instance of the GPTreeNode class.

메소드 상세

Clone() 공개 메소드

Clone the tree node.
public Clone ( ) : object
리턴 object

GPTreeNode() 공개 메소드

Initializes a new instance of the GPTreeNode class.
public GPTreeNode ( IGPGene gene ) : System
gene IGPGene
리턴 System

ToString() 공개 메소드

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 +".

public ToString ( ) : string
리턴 string

프로퍼티 상세

Children 공개적으로 프로퍼티

List of node's children.
public List Children
리턴 List

Gene 공개적으로 프로퍼티

Gene represented by the chromosome.
public IGPGene Gene
리턴 IGPGene