#include <GLInterfaceShuffleGenes.h>
Public Member Functions | |
virtual void | shuffleGenes (const vector< int > &gene_numbers)=0 |
Definition at line 7 of file GLInterfaceShuffleGenes.h.
virtual void GLInterfaceShuffleGenes::shuffleGenes | ( | const vector< int > & | gene_numbers | ) | [pure virtual] |
Shuffles the set of genes in the organism. Genes which are in the positions from the gene_numbers vector will be randomly shuffled. Genes from other positions will stay where they are.
gene_numbers | vector of positions of the genes to be shuffled. |
Implemented in GLOrganismVector< T >.