Changeset 4752 for branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/SingleDepotVRP/CVRP
- Timestamp:
- 11/09/10 09:55:31 (14 years ago)
- Location:
- branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/SingleDepotVRP/CVRP
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/SingleDepotVRP/CVRP/CVRPEvaluator.cs
r4520 r4752 33 33 using HeuristicLab.Problems.VehicleRouting.Variants; 34 34 using HeuristicLab.Problems.VehicleRouting.Encodings; 35 using HeuristicLab.Common; 35 36 36 37 namespace HeuristicLab.Problems.VehicleRouting.ProblemInstances { … … 105 106 Parameters.Add(new LookupParameter<DoubleValue>("Overload", "The overload.")); 106 107 } 108 109 public override IDeepCloneable Clone(Cloner cloner) { 110 return new CVRPEvaluator(this, cloner); 111 } 112 113 protected CVRPEvaluator(CVRPEvaluator original, Cloner cloner) 114 : base(original, cloner) { 115 } 107 116 } 108 117 } -
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/SingleDepotVRP/CVRP/CVRPProblemInstance.cs
r4376 r4752 32 32 using HeuristicLab.PluginInfrastructure; 33 33 using HeuristicLab.Problems.VehicleRouting.Variants; 34 using HeuristicLab.Common; 34 35 35 36 namespace HeuristicLab.Problems.VehicleRouting.ProblemInstances { … … 77 78 Parameters.Add(new ValueParameter<DoubleValue>("EvalOverloadPenalty", "The overload penalty considered in the evaluation.", new DoubleValue(100))); 78 79 } 80 81 public override IDeepCloneable Clone(Cloner cloner) { 82 return new CVRPProblemInstance(this, cloner); 83 } 84 85 protected CVRPProblemInstance(CVRPProblemInstance original, Cloner cloner) 86 : base(original, cloner) { 87 } 79 88 } 80 89 } -
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/SingleDepotVRP/CVRP/CVRPTW/CVRPTWEvaluator.cs
r4520 r4752 33 33 using HeuristicLab.Problems.VehicleRouting.Variants; 34 34 using HeuristicLab.Problems.VehicleRouting.Encodings; 35 using HeuristicLab.Common; 35 36 36 37 namespace HeuristicLab.Problems.VehicleRouting.ProblemInstances { … … 144 145 Parameters.Add(new LookupParameter<DoubleValue>("TravelTime", "The travel time.")); 145 146 } 147 148 public override IDeepCloneable Clone(Cloner cloner) { 149 return new CVRPTWEvaluator(this, cloner); 150 } 151 152 protected CVRPTWEvaluator(CVRPTWEvaluator original, Cloner cloner) 153 : base(original, cloner) { 154 } 146 155 } 147 156 } -
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/SingleDepotVRP/CVRP/CVRPTW/CVRPTWProblemInstance.cs
r4454 r4752 32 32 using HeuristicLab.PluginInfrastructure; 33 33 using HeuristicLab.Problems.VehicleRouting.Variants; 34 using HeuristicLab.Common; 34 35 35 36 namespace HeuristicLab.Problems.VehicleRouting.ProblemInstances { … … 103 104 Parameters.Add(new ValueParameter<DoubleValue>("EvalTardinessPenalty", "The tardiness penalty considered in the evaluation.", new DoubleValue(100))); 104 105 } 106 107 public override IDeepCloneable Clone(Cloner cloner) { 108 return new CVRPTWProblemInstance(this, cloner); 109 } 110 111 protected CVRPTWProblemInstance(CVRPTWProblemInstance original, Cloner cloner) 112 : base(original, cloner) { 113 } 105 114 } 106 115 }
Note: See TracChangeset
for help on using the changeset viewer.