00001
00025 #ifndef __ANNALEE_MILLER_H__
00026 #define __ANNALEE_MILLER_H__
00027
00028 #include "anngenes.h"
00029
00031
00032
00033
00034
00035
00036
00037
00039
00062 class MillerEncoding : public ANNEncoding {
00063 decl_dynamic (MillerEncoding);
00064 bool mPruneInputs;
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
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