- Timestamp:
- 11/09/10 09:55:31 (14 years ago)
- Location:
- branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances
- Files:
-
- 8 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 } -
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/SingleDepotVRP/SingleDepotVRPEvaluator.cs
r4378 r4752 33 33 using HeuristicLab.Problems.VehicleRouting.Variants; 34 34 using HeuristicLab.Problems.VehicleRouting.Encodings; 35 using HeuristicLab.Common; 35 36 36 37 … … 73 74 public SingleDepotVRPEvaluator() { 74 75 } 76 77 public override IDeepCloneable Clone(Cloner cloner) { 78 return new SingleDepotVRPEvaluator(this, cloner); 79 } 80 81 protected SingleDepotVRPEvaluator(SingleDepotVRPEvaluator original, Cloner cloner) 82 : base(original, cloner) { 83 } 75 84 } 76 85 } -
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/SingleDepotVRP/SingleDepotVRPProblemInstance.cs
r4374 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 { … … 70 71 public SingleDepotVRPProblemInstance() { 71 72 } 73 74 public override IDeepCloneable Clone(Cloner cloner) { 75 return new SingleDepotVRPProblemInstance(this, cloner); 76 } 77 78 protected SingleDepotVRPProblemInstance(SingleDepotVRPProblemInstance original, Cloner cloner) 79 : base(original, cloner) { 80 } 72 81 } 73 82 } -
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/VRPEvaluator.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 { … … 64 65 Parameters.Add(new LookupParameter<DoubleValue>("Distance", "The distance.")); 65 66 Parameters.Add(new LookupParameter<DoubleValue>("VehiclesUtilized", "The number of vehicles utilized.")); 67 } 68 69 protected VRPEvaluator(VRPEvaluator original, Cloner cloner) 70 : base(original, cloner) { 66 71 } 67 72 -
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/VRPProblemInstance.cs
r4380 r4752 31 31 using HeuristicLab.Optimization; 32 32 using HeuristicLab.PluginInfrastructure; 33 using HeuristicLab.Common; 33 34 34 35 namespace HeuristicLab.Problems.VehicleRouting.ProblemInstances { … … 192 193 Parameters.Add(new ValueParameter<IVRPEvaluator>("Evaluator", "The operator which should be used to evaluate VRP solutions.", Evaluator)); 193 194 } 195 196 protected VRPProblemInstance(VRPProblemInstance original, Cloner cloner) 197 : base(original, cloner) { 198 } 194 199 } 195 200 }
Note: See TracChangeset
for help on using the changeset viewer.