IndividualFactory.h

Go to the documentation of this file.
00001 
00005 #ifndef GENETIK_GA_INDIVIDUALFACTORY
00006 #define GENETIK_GA_INDIVIDUALFACTORY
00007 
00008 #include "../IndividualFactory.h"
00009 
00010 namespace genetiK
00011 {
00012 
00013 namespace ga
00014 {
00015 
00016 class Individual;
00017 
00025 class IndividualFactory : public genetiK::IndividualFactory
00026 {
00027 private:
00028         unsigned int                                                    length;
00029 
00030 public:
00035         IndividualFactory(unsigned int length);
00036 
00041         unsigned int                                                    getLength() { return length; }
00042 
00045         virtual ~IndividualFactory();
00046 
00052         virtual genetiK::Individual*                                    generate()=0;
00053 };
00054 
00055 }       
00056 } // end of group
00058 
00059 #endif
00060 
00061 

Generated on Thu Feb 23 12:20:44 2006 for GenetiK by  doxygen 1.4.6