Changeset 8783
- Timestamp:
- 10/10/12 16:30:59 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DynamicVehicleRouting/HeuristicLab.PDPSimulation/3.3/Operators/PriorityDispatchingMetaOptEvaluator.cs
r8777 r8783 92 92 Debug.Assert(simulation.Results.ContainsKey("Finished")); 93 93 double leadTime = (simulation.Results["LeadTime"].Value as DoubleValue).Value; 94 double tardiness = (simulation.Results["Tardiness"].Value as DoubleValue).Value + 95 (simulation.Results["VehicleTardiness"].Value as DoubleValue).Value; 94 double tardiness = (simulation.Results["TardinessPenalty"].Value as DoubleValue).Value; 96 95 97 96 lock (locker) { 98 double runQuality = leadTime + tardiness * (simulation.Problem as PickupDeliveryScenario).TardinessPenaltyParameter.Value.Value;97 double runQuality = leadTime + tardiness; 99 98 100 99 quality += runQuality;
Note: See TracChangeset
for help on using the changeset viewer.