Changeset 4378 for branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/SingleDepotVRP/CVRP/CVRPEvaluator.cs
- Timestamp:
- 09/10/10 13:00:54 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/SingleDepotVRP/CVRP/CVRPEvaluator.cs
r4377 r4378 73 73 eval.Quality += instance.DistanceFactor.Value * distance; 74 74 75 eval.Distance = distance;76 eval.VehicleUtilization = 1;75 eval.Distance += distance; 76 eval.VehicleUtilization += 1; 77 77 78 78 double capacity = cvrpInstance.Capacity.Value; … … 81 81 } 82 82 83 (eval as CVRPEvaluation).Overload = overweight;83 (eval as CVRPEvaluation).Overload += overweight; 84 84 double penalty = overweight * cvrpInstance.OverloadPenalty.Value; 85 85 eval.Penalty += penalty;
Note: See TracChangeset
for help on using the changeset viewer.