00001 #ifndef GRAYTRANSCRIBE_H_ 00002 #define GRAYTRANSCRIBE_H_ 00003 #include "BinaryTranscribe.h" 00004 00005 namespace gplib 00006 { 00007 /** \addtogroup gainv Genetic algorithm optimization */ 00008 /* @{ */ 00009 //! This class implements the Gray code representation of a binary string and the corresponding transcription 00010 class GrayTranscribe: public BinaryTranscribe 00011 { 00012 public: 00013 virtual ttranscribed GetValues(const tpopmember &member); //!< Re-Implements the function from BinaryTranscribe 00014 GrayTranscribe(const ttranscribed &base, const ttranscribed &step, 00015 const tsizev &gene); 00016 virtual ~GrayTranscribe(); 00017 }; 00018 /* @} */ 00019 } 00020 #endif /*GRAYTRANSCRIBE_H_*/
1.5.8