1 #ifndef CSTANDARDTRANSCRIBE_H
2 #define CSTANDARDTRANSCRIBE_H
43 #endif // CSTANDARDTRANSCRIBE_H
BinaryTranscibe implements transcription for standard binary populations.
ublas::vector< double > ttranscribed
virtual ~BinaryTranscribe()
BinaryTranscribe(const ttranscribed &base, const ttranscribed &step, const tsizev &gene)
Without basevalues, stepsizes and genesizes BinaryTranscribe does not work, so we enforce their use b...
virtual ttranscribed GetValues(const tpopmember &member)
Implements the abstract function from GeneralTranscribe.
const ttranscribed stepsizes
The stepsize associated to a bit change for each parameter.
ublas::vector< bool > tpopmember
General Transcribe base class for genetic algorithm parameter transcription.
virtual int GetNparams()
Returns the number of parameters that are encoded in the binary string.
const tsizev genesizes
The number of bits for each parameter.
ublas::vector< int > tsizev
const ttranscribed basevalues
The minimum value for each parameter.