• Main Page
  • Modules
  • Classes
  • Files
  • File List

D:/Projekt/ECF_trunk/examples/GATSP/TSPEvalOp.h

00001 #ifndef TSPEVALOP_H_
00002 #define TSPEVALOP_H_
00003 
00004 #include <cmath>
00005 #include <iostream>
00006 #include <string>
00007 #include <fstream>
00008 
00009 
00014 class TSPEvalOp : public EvaluateOp 
00015 {
00016 private:
00017     int dimension;
00018     std::vector< std::vector<int> > weights;
00019 public:
00020     void registerParameters(StateP);
00021     bool initialize(StateP);
00022     FitnessP evaluate(IndividualP individual);
00023 };
00024 typedef boost::shared_ptr<TSPEvalOp> TSPEvalOpP;
00025 
00026 #endif /* TSPEVALOP_H_ */

Generated on Thu Oct 6 2011 13:41:02 for ECF by  doxygen 1.7.1