- Timestamp:
- 07/28/11 14:16:21 (13 years ago)
- Location:
- branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Prins
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Prins/Manipulators/PrinsLSManipulator.cs
r4752 r6607 49 49 50 50 protected double GetQuality(PrinsEncoding individual) { 51 return ProblemInstance.Evaluate(individual) ;51 return ProblemInstance.Evaluate(individual).Quality; 52 52 } 53 53 -
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Prins/PrinsEncoding.cs
r4752 r6607 61 61 62 62 VRPEvaluation eval = 63 ProblemInstance.EvaluatorParameter.Value.Evaluate(ProblemInstance, 64 tour); 63 ProblemInstance.Evaluate(tour); 65 64 66 65 double cost = eval.Quality; 67 feasible = ProblemInstance. EvaluatorParameter.Value.Feasible(eval);66 feasible = ProblemInstance.Feasible(eval); 68 67 69 68 if (feasible) {
Note: See TracChangeset
for help on using the changeset viewer.