Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/24/20 00:58:42 (4 years ago)
Author:
abeham
Message:

#2521: working on VRP (WIP)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Analyzer/BestSolution/Capacitated/BestCapacitatedVRPSolutionAnalyzer.cs

    r17226 r17698  
    4242      get { return (ILookupParameter<IVRPProblemInstance>)Parameters["ProblemInstance"]; }
    4343    }
    44     public ScopeTreeLookupParameter<IVRPEncoding> VRPToursParameter {
    45       get { return (ScopeTreeLookupParameter<IVRPEncoding>)Parameters["VRPTours"]; }
     44    public ScopeTreeLookupParameter<IVRPEncodedSolution> VRPToursParameter {
     45      get { return (ScopeTreeLookupParameter<IVRPEncodedSolution>)Parameters["VRPTours"]; }
    4646    }
    4747    public ScopeTreeLookupParameter<DoubleValue> QualityParameter {
     
    7070      : base() {
    7171      Parameters.Add(new LookupParameter<IVRPProblemInstance>("ProblemInstance", "The problem instance."));
    72       Parameters.Add(new ScopeTreeLookupParameter<IVRPEncoding>("VRPTours", "The VRP tours which should be evaluated."));
     72      Parameters.Add(new ScopeTreeLookupParameter<IVRPEncodedSolution>("VRPTours", "The VRP tours which should be evaluated."));
    7373      Parameters.Add(new ScopeTreeLookupParameter<DoubleValue>("Quality", "The qualities of the VRP solutions which should be analyzed."));
    7474
     
    8989    public override IOperation Apply() {
    9090      IVRPProblemInstance problemInstance = ProblemInstanceParameter.ActualValue;
    91       ItemArray<IVRPEncoding> solutions = VRPToursParameter.ActualValue;
     91      ItemArray<IVRPEncodedSolution> solutions = VRPToursParameter.ActualValue;
    9292      ResultCollection results = ResultsParameter.ActualValue;
    9393
Note: See TracChangeset for help on using the changeset viewer.