36 std::vector< std::vector<int> > weights;
37 std::vector< std::vector<double> > coordinates;
41 FitnessP
evaluate(IndividualP individual);
43typedef boost::shared_ptr<TSPEvalOp> TSPEvalOpP;
bool initialize(StateP)
Initialize the evaluator. Called before first evaluation occurs.
void registerParameters(StateP)
Register evaluator parameters. Called before EvaluateOp::initialize method.
FitnessP evaluate(IndividualP individual)
Evaluate a single individual. Method must create and return a Fitness object.