Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/03/10 11:15:22 (14 years ago)
Author:
svonolfe
Message:

Worked on the evaluators and on the project structure of the VRP plugin - WIP (#1177)

Location:
branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/SingleDepotVRP
Files:
3 added
1 moved

Legend:

Unmodified
Added
Removed
  • branches/VRP/HeuristicLab.Problems.VehicleRouting/3.4/ProblemInstances/SingleDepotVRP/CVRP/CVRPTW/CVRPTWProblemInstance.cs

    r4362 r4363  
    3131using HeuristicLab.Optimization;
    3232using HeuristicLab.PluginInfrastructure;
    33 using HeuristicLab.Problems.VehicleRouting.Interfaces.Variants;
     33using HeuristicLab.Problems.VehicleRouting.Variants;
    3434
    3535namespace HeuristicLab.Problems.VehicleRouting.ProblemInstances {
     
    3737  [StorableClass]
    3838  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"]; }
    4141    }
    42     protected ValueParameter<DoubleArray> DueTimeParameter {
    43       get { return (ValueParameter<DoubleArray>)Parameters["DueTime"]; }
     42    protected IValueParameter<DoubleArray> DueTimeParameter {
     43      get { return (IValueParameter<DoubleArray>)Parameters["DueTime"]; }
    4444    }
    45     protected ValueParameter<DoubleArray> ServiceTimeParameter {
    46       get { return (ValueParameter<DoubleArray>)Parameters["ServiceTime"]; }
     45    protected IValueParameter<DoubleArray> ServiceTimeParameter {
     46      get { return (IValueParameter<DoubleArray>)Parameters["ServiceTime"]; }
    4747    }
    4848
     
    8181      }
    8282    }
     83
     84    protected override IVRPEvaluator Evaluator {
     85      get {
     86        return new CVRPTWEvaluator();
     87      }
     88    }
    8389   
    8490    [StorableConstructor]
Note: See TracChangeset for help on using the changeset viewer.