GPLIB++
GrayTranscribe.h
Go to the documentation of this file.
1 #ifndef GRAYTRANSCRIBE_H_
2 #define GRAYTRANSCRIBE_H_
3 #include "BinaryTranscribe.h"
4 
5 namespace gplib
6  {
7  /** \addtogroup gainv Genetic algorithm optimization */
8  /* @{ */
9  //! This class implements the Gray code representation of a binary string and the corresponding transcription
11  {
12  public:
13  virtual ttranscribed GetValues(const tpopmember &member); //!< Re-Implements the function from BinaryTranscribe
14  GrayTranscribe(const ttranscribed &base, const ttranscribed &step,
15  const tsizev &gene);
16  virtual ~GrayTranscribe();
17  };
18  /* @} */
19  }
20 #endif /*GRAYTRANSCRIBE_H_*/
BinaryTranscibe implements transcription for standard binary populations.
ublas::vector< double > ttranscribed
Definition: gentypes.h:21
GrayTranscribe(const ttranscribed &base, const ttranscribed &step, const tsizev &gene)
virtual ttranscribed GetValues(const tpopmember &member)
Re-Implements the function from BinaryTranscribe.
ublas::vector< bool > tpopmember
Definition: gentypes.h:22
This class implements the Gray code representation of a binary string and the corresponding transcrip...
ublas::vector< int > tsizev
Definition: gentypes.h:27