#include <Gene.h>
Inheritance diagram for genetiK::gp::st::Gene:
Public Member Functions | |
Gene (GeneType type, unsigned char arity,...) | |
creates a Gene | |
virtual | ~Gene () |
destructor | |
GeneType | getType () const |
return the type of the node | |
GeneType | getArgumentType (unsigned char i) const |
return the type of one child | |
virtual list< Gene * > | extractListByType (GeneType geneType) |
Extract a typed list from this branch. |
This class extends the gp::Gene and adds the type constraints.
|
creates a Gene Gene default contructor
|
|
Extract a typed list from this branch.
|
|
return the type of one child return the type of one child
|
|
return the type of the node return the type of the node
|