Changeset 12488 for trunk/sources/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/SingleDepotVRP/CVRP/CVRPTW
- Timestamp:
- 06/22/15 16:56:47 (10 years ago)
- Location:
- trunk/sources/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/SingleDepotVRP/CVRP/CVRPTW
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/SingleDepotVRP/CVRP/CVRPTW/CVRPPDTW/CVRPPDTWProblemInstance.cs
r12012 r12488 61 61 return PickupViolationPenaltyParameter.Value; 62 62 } 63 } 64 DoubleValue IPickupAndDeliveryProblemInstance.CurrentPickupViolationPenalty { 65 get { return CurrentOverloadPenaltyParameter.Value; } 63 66 set { CurrentPickupViolationPenaltyParameter.Value = value; } 64 67 } … … 94 97 95 98 Parameters.Add(new ValueParameter<DoubleValue>("EvalPickupViolationPenalty", "The pickup violation penalty considered in the evaluation.", new DoubleValue(100))); 96 Parameters.Add(new OptionalValueParameter<DoubleValue>("CurrentPickupViolationPenalty", "The current pickup violation penalty considered in the evaluation.") );99 Parameters.Add(new OptionalValueParameter<DoubleValue>("CurrentPickupViolationPenalty", "The current pickup violation penalty considered in the evaluation.") { Hidden = true }); 97 100 98 101 AttachEventHandlers(); -
trunk/sources/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/SingleDepotVRP/CVRP/CVRPTW/CVRPTWProblemInstance.cs
r12012 r12488 83 83 return TardinessPenaltyParameter.Value; 84 84 } 85 } 86 DoubleValue ITimeWindowedProblemInstance.CurrentTardinessPenalty { 87 get { return CurrentTardinessPenaltyParameter.Value; } 85 88 set { CurrentTardinessPenaltyParameter.Value = value; } 86 89 } … … 113 116 Parameters.Add(new ValueParameter<DoubleValue>("EvalTimeFactor", "The time factor considered in the evaluation.", new DoubleValue(0))); 114 117 Parameters.Add(new ValueParameter<DoubleValue>("EvalTardinessPenalty", "The tardiness penalty considered in the evaluation.", new DoubleValue(100))); 115 Parameters.Add(new OptionalValueParameter<DoubleValue>("CurrentTardinessPenalty", "The current tardiness penalty considered in the evaluation.") );118 Parameters.Add(new OptionalValueParameter<DoubleValue>("CurrentTardinessPenalty", "The current tardiness penalty considered in the evaluation.") { Hidden = true }); 116 119 117 120 AttachEventHandlers();
Note: See TracChangeset
for help on using the changeset viewer.