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 >.
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. |
GaCodeValue
is interface for values which are parts of chromosome's code. It is used by interfaces which manipulate chromosome's code.
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.
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 >.