Chromosome::Representation::GaCodeValue Class Reference

GaCodeValue is interface for values which are parts of chromosome's code. It is used by interfaces which manipulate chromosome's code. More...

#include <D:/Temp/vs/gal/source/RepresentationInterfaces.h>

Inherited by Chromosome::Representation::GaBit, and Chromosome::Representation::GaChromosomeValue< TYPE >.

List of all members.

Public Member Functions

virtual void GACALL Initialize ()=0
 This method initializes value randomly.
virtual void GACALL FromBuffer (const GaCodeValuesBuffer &buffer, int pos)=0
 This method extract value at given position form buffer of chromosome's code.


Detailed Description

GaCodeValue is interface for values which are parts of chromosome's code. It is used by interfaces which manipulate chromosome's code.


Member Function Documentation

virtual void GACALL Chromosome::Representation::GaCodeValue::Initialize (  )  [pure virtual]

This method initializes value randomly.

Implemented in Chromosome::Representation::GaBit, and Chromosome::Representation::GaChromosomeValue< TYPE >.

virtual void GACALL Chromosome::Representation::GaCodeValue::FromBuffer ( const GaCodeValuesBuffer buffer,
int  pos 
) [pure virtual]

This method extract value at given position form buffer of chromosome's code.

Parameters:
buffer reference to buffer from which value is extracted.
pos position of extracting value in buffer.

Implemented in Chromosome::Representation::GaBit, and Chromosome::Representation::GaChromosomeValue< TYPE >.


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

Genetic Algorithm Library
Coolsoft Software Development