Permutation class - implements genotype as a vector of indices (permutation of indices). More...
#include <Permutation.h>
Public Types | |
| typedef std::vector< int > | var |
Public Member Functions | |
| uint | getSize () |
| bool | initialize (StateP state) |
| Initialize a genotype object (read parameters, perform sanity check, build data). | |
| void | registerParameters (StateP state) |
| Register genotype's parameters (called before Genotype::initialize). | |
| Permutation * | copy () |
| Create an identical copy of the genotype object. | |
| std::vector< CrossoverOpP > | getCrossoverOp () |
| Create and return a vector of crossover operators. | |
| std::vector< MutationOpP > | getMutationOp () |
| Create and return a vector of mutation operators. | |
| void | write (XMLNode &) |
| Write genotype data to XMLNode. | |
| void | read (XMLNode &) |
| Read genotype data from XMLNode. | |
Public Attributes | |
| var | variables |
Protected Attributes | |
| uint | size_ |
| permutation vector size | |
Permutation class - implements genotype as a vector of indices (permutation of indices).
Definition at line 37 of file Permutation.h.
1.7.1