• 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 
00032 class TSPEvalOp : public EvaluateOp 
00033 {
00034 private:
00035     int dimension;
00036     std::vector< std::vector<int> > weights;
00037     std::vector< std::vector<double> > coordinates;
00038 public:
00039     void registerParameters(StateP);
00040     bool initialize(StateP);
00041     FitnessP evaluate(IndividualP individual);
00042 };
00043 typedef boost::shared_ptr<TSPEvalOp> TSPEvalOpP;
00044 
00045 #endif /* TSPEVALOP_H_ */

Generated on Tue Nov 4 2014 13:04:32 for ECF by  doxygen 1.7.1