|
GPLIB++
|
This class implements the Gray code representation of a binary string and the corresponding transcription. More...
#include <GrayTranscribe.h>

Public Member Functions | |
| virtual ttranscribed | GetValues (const tpopmember &member) |
| Re-Implements the function from BinaryTranscribe. More... | |
| GrayTranscribe (const ttranscribed &base, const ttranscribed &step, const tsizev &gene) | |
| virtual | ~GrayTranscribe () |
Public Member Functions inherited from gplib::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 by including them in the constructor. More... | |
| virtual int | GetNparams () |
| Returns the number of parameters that are encoded in the binary string. More... | |
| BinaryTranscribe (const BinaryTranscribe &Old) | |
| We declare a copy constructor that copies the private variables;. More... | |
| BinaryTranscribe (const GeneralTranscribe &Old) | |
| virtual | ~BinaryTranscribe () |
Public Member Functions inherited from gplib::GeneralTranscribe | |
| GeneralTranscribe () | |
| GeneralTranscribe (const GeneralTranscribe &Old) | |
| virtual | ~GeneralTranscribe () |
Additional Inherited Members | |
Protected Attributes inherited from gplib::BinaryTranscribe | |
| const ttranscribed | basevalues |
| The minimum value for each parameter. More... | |
| const ttranscribed | stepsizes |
| The stepsize associated to a bit change for each parameter. More... | |
| const tsizev | genesizes |
| The number of bits for each parameter. More... | |
This class implements the Gray code representation of a binary string and the corresponding transcription.
Definition at line 10 of file GrayTranscribe.h.
| gplib::GrayTranscribe::GrayTranscribe | ( | const ttranscribed & | base, |
| const ttranscribed & | step, | ||
| const tsizev & | gene | ||
| ) |
Definition at line 7 of file GrayTranscribe.cpp.
|
virtual |
Definition at line 13 of file GrayTranscribe.cpp.
|
virtual |
Re-Implements the function from BinaryTranscribe.
Reimplemented from gplib::BinaryTranscribe.
Definition at line 17 of file GrayTranscribe.cpp.
References gplib::BinaryTranscribe::basevalues, gplib::BinaryTranscribe::genesizes, and gplib::BinaryTranscribe::stepsizes.
Referenced by main().
1.8.6