GeneralTranscribe.h

Go to the documentation of this file.
00001 
00002 #ifndef CGENERALTRANSCRIBE_H
00003 #define CGENERALTRANSCRIBE_H
00004 #include "gentypes.h"
00005 
00006 namespace gplib
00007   {
00008     /** \addtogroup gainv Genetic algorithm optimization */
00009     /* @{ */
00010 
00011     //! General Transcribe base class for genetic algorithm parameter transcription
00012     /*! General Transcribe: Base class for transcribing a gene string to numbers that can be handled by the Objective functions.
00013      * Does not care about which parameter used by which function, but only returns a vector of doubles.
00014      * This base class only defines the interface, but has no own functionality
00015      * This version: $Id: GeneralTranscribe.h 1816 2009-09-07 11:28:35Z mmoorkamp $
00016      */
00017     class GeneralTranscribe
00018       {
00019     public:
00020       /*! The abstract function GetValues takes a population member as input and returns a
00021        * vector of doubles, that are used as parameters for the objective functions*/
00022       virtual ttranscribed GetValues(const tpopmember &member)=0;
00023       virtual int GetNparams() = 0;
00024       GeneralTranscribe();
00025       /*! The copy constructor is empty and will be removed in the future*/
00026       GeneralTranscribe(const GeneralTranscribe &Old);
00027       virtual ~GeneralTranscribe();
00028       };
00029   /* @} */
00030   }
00031 #endif // CGENERALTRANSCRIBE_H

Generated on Tue May 4 16:52:14 2010 for GPLIB++ by  doxygen 1.5.8