Changeset 4363 for branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/SingleDepotVRP/CVRP/CVRPTW
- Timestamp:
- 09/03/10 11:15:22 (14 years ago)
- Location:
- branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/SingleDepotVRP
- Files:
-
- 4 added
- 1 copied
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/SingleDepotVRP/CVRP/CVRPTW/CVRPTWEvaluation.cs
r4362 r4363 4 4 using System.Text; 5 5 6 namespace HeuristicLab.Problems.VehicleRouting.ProblemInstances .Evaluation{6 namespace HeuristicLab.Problems.VehicleRouting.ProblemInstances { 7 7 public class CVRPTWEvaluation: CVRPEvaluation { 8 8 public double Tardiness { get; set; } -
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/SingleDepotVRP/CVRP/CVRPTW/CVRPTWProblemInstance.cs
r4362 r4363 31 31 using HeuristicLab.Optimization; 32 32 using HeuristicLab.PluginInfrastructure; 33 using HeuristicLab.Problems.VehicleRouting. Interfaces.Variants;33 using HeuristicLab.Problems.VehicleRouting.Variants; 34 34 35 35 namespace HeuristicLab.Problems.VehicleRouting.ProblemInstances { … … 37 37 [StorableClass] 38 38 public class CVRPTWProblemInstance: CVRPProblemInstance, ITimeWindowedProblemInstance { 39 protected ValueParameter<DoubleArray> ReadyTimeParameter {40 get { return ( ValueParameter<DoubleArray>)Parameters["ReadyTime"]; }39 protected IValueParameter<DoubleArray> ReadyTimeParameter { 40 get { return (IValueParameter<DoubleArray>)Parameters["ReadyTime"]; } 41 41 } 42 protected ValueParameter<DoubleArray> DueTimeParameter {43 get { return ( ValueParameter<DoubleArray>)Parameters["DueTime"]; }42 protected IValueParameter<DoubleArray> DueTimeParameter { 43 get { return (IValueParameter<DoubleArray>)Parameters["DueTime"]; } 44 44 } 45 protected ValueParameter<DoubleArray> ServiceTimeParameter {46 get { return ( ValueParameter<DoubleArray>)Parameters["ServiceTime"]; }45 protected IValueParameter<DoubleArray> ServiceTimeParameter { 46 get { return (IValueParameter<DoubleArray>)Parameters["ServiceTime"]; } 47 47 } 48 48 … … 81 81 } 82 82 } 83 84 protected override IVRPEvaluator Evaluator { 85 get { 86 return new CVRPTWEvaluator(); 87 } 88 } 83 89 84 90 [StorableConstructor]
Note: See TracChangeset
for help on using the changeset viewer.