- Timestamp:
- 12/17/10 13:42:53 (14 years ago)
- Location:
- branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/SingleDepotVRP/CVRP/CVRPProblemInstance.cs
r4860 r5127 76 76 public CVRPProblemInstance() { 77 77 Parameters.Add(new ValueParameter<DoubleValue>("Capacity", "The capacity of each vehicle.", new DoubleValue(0))); 78 Parameters.Add(new ValueParameter<DoubleValue>("EvalOverloadPenalty", "The overload penalty considered in the evaluation.", new DoubleValue(1 00)));78 Parameters.Add(new ValueParameter<DoubleValue>("EvalOverloadPenalty", "The overload penalty considered in the evaluation.", new DoubleValue(1))); 79 79 80 80 AttachEventHandlers(); -
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/SingleDepotVRP/CVRP/CVRPTW/CVRPTWProblemInstance.cs
r4860 r5127 102 102 103 103 Parameters.Add(new ValueParameter<DoubleValue>("EvalTimeFactor", "The time factor considered in the evaluation.", new DoubleValue(0))); 104 Parameters.Add(new ValueParameter<DoubleValue>("EvalTardinessPenalty", "The tardiness penalty considered in the evaluation.", new DoubleValue(1 00)));104 Parameters.Add(new ValueParameter<DoubleValue>("EvalTardinessPenalty", "The tardiness penalty considered in the evaluation.", new DoubleValue(1))); 105 105 106 106 AttachEventHandlers(); -
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/VRPEvaluator.cs
r4752 r5127 55 55 get { return (ILookupParameter<DoubleValue>)Parameters["VehiclesUtilized"]; } 56 56 } 57 58 public ILookupParameter<DoubleValue> PenaltyParameter { 59 get { return (ILookupParameter<DoubleValue>)Parameters["Penalty"]; } 60 } 57 61 58 62 [StorableConstructor] … … 65 69 Parameters.Add(new LookupParameter<DoubleValue>("Distance", "The distance.")); 66 70 Parameters.Add(new LookupParameter<DoubleValue>("VehiclesUtilized", "The number of vehicles utilized.")); 71 72 Parameters.Add(new LookupParameter<DoubleValue>("Penalty", "The applied penalty.")); 67 73 } 68 74 … … 81 87 VehcilesUtilizedParameter.ActualValue = new DoubleValue(0); 82 88 DistanceParameter.ActualValue = new DoubleValue(0); 89 PenaltyParameter.ActualValue = new DoubleValue(0); 83 90 } 84 91 … … 87 94 VehcilesUtilizedParameter.ActualValue.Value = tourEvaluation.VehicleUtilization; 88 95 DistanceParameter.ActualValue.Value = tourEvaluation.Distance; 96 PenaltyParameter.ActualValue.Value = tourEvaluation.Penalty; 89 97 } 90 98 -
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/VRPProblemInstance.cs
r4895 r5127 221 221 Parameters.Add(new ValueParameter<DoubleArray>("Demand", "The demand of each customer.", new DoubleArray())); 222 222 223 Parameters.Add(new ValueParameter<DoubleValue>("EvalFleetUsageFactor", "The fleet usage factor considered in the evaluation.", new DoubleValue( 100)));223 Parameters.Add(new ValueParameter<DoubleValue>("EvalFleetUsageFactor", "The fleet usage factor considered in the evaluation.", new DoubleValue(0))); 224 224 Parameters.Add(new ValueParameter<DoubleValue>("EvalDistanceFactor", "The distance factor considered in the evaluation.", new DoubleValue(1))); 225 225
Note: See TracChangeset
for help on using the changeset viewer.