GLInterfaceShuffleGenes Class Reference

#include <GLInterfaceShuffleGenes.h>

Inheritance diagram for GLInterfaceShuffleGenes:

GLOrganismVector< T >

List of all members.

Public Member Functions

virtual void shuffleGenes (const vector< int > &gene_numbers)=0


Detailed Description

Provides interface for genes shuffling.

Definition at line 7 of file GLInterfaceShuffleGenes.h.


Member Function Documentation

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.

Parameters:
gene_numbers vector of positions of the genes to be shuffled.

Implemented in GLOrganismVector< T >.


The documentation for this class was generated from the following file:

Generated on Sat Jun 13 13:58:09 2009 for GenLib by  doxygen 1.5.9