|
faif
|
Template to generate individual which is the vector of Genes. More...
#include <VectorIndividual.hpp>

Public Types | |
| typedef Gene::value_type | value_type |
| typedef std::vector< value_type > | Container |
| typedef Container::iterator | iterator |
| typedef Container::const_iterator | const_iterator |
Public Member Functions | |
| BOOST_CONCEPT_ASSERT ((EvolutionaryAlgorithmGeneConcept< Gene >)) | |
| VectorIndividual (int size) | |
| VectorIndividual (Container value) | |
| VectorIndividual (const VectorIndividual &i) | |
| VectorIndividual & | operator= (const VectorIndividual &i) |
| void | mutate (double prob_mutation) |
| change the object at random positions More... | |
| bool | operator== (const VectorIndividual &i) const |
| bool | operator!= (const VectorIndividual &i) const |
| const Container & | getChromosome () const |
Template to generate individual which is the vector of Genes.
|
inlineexplicit |
create the random initial individual. The vector size is parameter
|
inlineexplicit |
init individual with given data
|
inline |
change the object at random positions
|
inline |
accessor
1.8.11