GLInterfaceMoveGene Class Reference

#include <GLInterfaceMoveGene.h>

Inheritance diagram for GLInterfaceMoveGene:

GLOrganismVector< T >

List of all members.

Public Member Functions

virtual void moveGene (int old_position, int new_position)=0


Detailed Description

Interface for organisms which can move gene from one position to another within the organism.

Definition at line 8 of file GLInterfaceMoveGene.h.


Member Function Documentation

virtual void GLInterfaceMoveGene::moveGene ( int  old_position,
int  new_position 
) [pure virtual]

Moves the genes from one position to another.

Parameters:
old_position where the gene is moving from.
new_position where the gene is moving to.

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