Free cookie consent management tool by TermsFeed Policy Generator

Changeset 8783


Ignore:
Timestamp:
10/10/12 16:30:59 (12 years ago)
Author:
svonolfe
Message:

modified fitness function of dial a ride (#1955)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DynamicVehicleRouting/HeuristicLab.PDPSimulation/3.3/Operators/PriorityDispatchingMetaOptEvaluator.cs

    r8777 r8783  
    9292          Debug.Assert(simulation.Results.ContainsKey("Finished"));
    9393          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;
    9695
    9796          lock (locker) {
    98             double runQuality = leadTime + tardiness * (simulation.Problem as PickupDeliveryScenario).TardinessPenaltyParameter.Value.Value;
     97            double runQuality = leadTime + tardiness;
    9998
    10099            quality += runQuality;
Note: See TracChangeset for help on using the changeset viewer.