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/Encodings/General/Crossovers/VRPCrossover.cs

    r17226 r17698  
    3030  [StorableType("E26BAD0A-49E6-477C-AEA0-CB41552F0B2B")]
    3131  public abstract class VRPCrossover : VRPOperator, IVRPCrossover {
    32     public ILookupParameter<ItemArray<IVRPEncoding>> ParentsParameter {
    33       get { return (ScopeTreeLookupParameter<IVRPEncoding>)Parameters["Parents"]; }
     32    public ILookupParameter<ItemArray<IVRPEncodedSolution>> ParentsParameter {
     33      get { return (ScopeTreeLookupParameter<IVRPEncodedSolution>)Parameters["Parents"]; }
    3434    }
    3535
    36     public ILookupParameter<IVRPEncoding> ChildParameter {
    37       get { return (ILookupParameter<IVRPEncoding>)Parameters["Child"]; }
     36    public ILookupParameter<IVRPEncodedSolution> ChildParameter {
     37      get { return (ILookupParameter<IVRPEncodedSolution>)Parameters["Child"]; }
    3838    }
    3939
     
    4343    public VRPCrossover()
    4444      : base() {
    45       Parameters.Add(new ScopeTreeLookupParameter<IVRPEncoding>("Parents", "The parent permutations which should be crossed."));
     45      Parameters.Add(new ScopeTreeLookupParameter<IVRPEncodedSolution>("Parents", "The parent permutations which should be crossed."));
    4646      ParentsParameter.ActualName = "VRPTours";
    47       Parameters.Add(new LookupParameter<IVRPEncoding>("Child", "The child permutation resulting from the crossover."));
     47      Parameters.Add(new LookupParameter<IVRPEncodedSolution>("Child", "The child permutation resulting from the crossover."));
    4848      ChildParameter.ActualName = "VRPTours";
    4949    }
Note: See TracChangeset for help on using the changeset viewer.