Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

miller.h

Go to the documentation of this file.
00001 
00025 #ifndef __ANNALEE_MILLER_H__
00026 #define __ANNALEE_MILLER_H__
00027 
00028 #include "anngenes.h"
00029 
00031 //                                                                          //
00032 //     |   | o | |           -----                      | o                 //
00033 //     |\ /|   | |  ___      |       _    ___           |     _             //
00034 //     | V | | | | /   ) |/\ |---  |/ \  |   \  __   ---| | |/ \   ___      //
00035 //     | | | | | | |---  |   |     |   | |     /  \ (   | | |   | (   \     //
00036 //     |   | | | |  \__  |   |____ |   |  \__/ \__/  ---| | |   |  ---/     //
00037 //                                                                 __/      //
00039 
00062 class MillerEncoding : public ANNEncoding {
00063     decl_dynamic (MillerEncoding);
00064     bool    mPruneInputs;   // This is stored just for easy access
00065     double  mPcVariance;
00066     double  mPcAverage;
00067 
00068   public:
00069                         MillerEncoding      () {FORBIDDEN}
00070                         MillerEncoding      (const GeneticID& name,
00071                                              const StringMap& params);
00072                         MillerEncoding      (const MillerEncoding& other);
00073     
00074     // Implementations
00075 
00076     virtual Genstruct*  replicate           () const {return new MillerEncoding (*this);}
00077     virtual void        copy                (const Genstruct& other);
00078     virtual bool        execute             (const GeneticMsg& msg) const;
00079     virtual void        addPrivateGenes     (Gentainer& g, const StringMap& params);
00080     virtual void        init                ();
00081 };
00082 
00083 
00084 
00085 #endif
00086 

Generated on Thu Feb 10 20:21:26 2005 for Annalee by doxygen1.2.18