Karva language translates linear chromosome into the program represented as a tree. It connects tree - based GPs (evaluation of an individual is performed in its tree form) and linear - chromosome GPs (genetic operators are performed on linear, Karva language chromosome). This class is designed to perform an one - way transformation of Karva genome to the tree representation. Wee need only one way, since nothing but evaluation is performed on the trees. Terminology: Open Reading Frame (ORF) - term taken from biology; description of Karva chromosome; also referrred as 'gene' Expression Trees (ET) - trees translated from Karva chromosome. More...
Classes | |
| class | GEP::Chromosome< ChromosomeType > |
| Karva chromosome template. Implemented as a vector<unsigned short> holding indexes of elements in _oneArgFunction, _twoArgFunction and _terminals vectors. More... | |
Namespaces | |
| namespace | GEP |
Namespace for classes related to Gene Expression Programming This namespace contains classes describing Karva chromosomes, individuals based on these chromosomes, genetic operators and poppulation management. | |
Defines | |
| #define | NODE_TERMINAL 0 |
| #define | NODE_ONE_ARG 1 |
| #define | NODE_TWO_ARG 2 |
Typedefs | |
| typedef char | GEP::EType |
| typedef u_short | GEP::VType |
| typedef std::pair< EType, VType > | GEP::CElement |
Functions | |
| template<class T2 > | |
| std::ostream & | GEP::operator<< (std::ostream &os, const Chromosome< T2 > &a) |
Karva language translates linear chromosome into the program represented as a tree. It connects tree - based GPs (evaluation of an individual is performed in its tree form) and linear - chromosome GPs (genetic operators are performed on linear, Karva language chromosome). This class is designed to perform an one - way transformation of Karva genome to the tree representation. Wee need only one way, since nothing but evaluation is performed on the trees. Terminology: Open Reading Frame (ORF) - term taken from biology; description of Karva chromosome; also referrred as 'gene' Expression Trees (ET) - trees translated from Karva chromosome.
Copyright (c) 2008 Marek Ostaszewski, Sebastien Varrette (see COPYING)
| #define NODE_ONE_ARG 1 |
| #define NODE_TERMINAL 0 |
| #define NODE_TWO_ARG 2 |
1.6.1