Changeset 17698 for branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/General/Crossovers/VRPCrossover.cs
- Timestamp:
- 07/24/20 00:58:42 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/General/Crossovers/VRPCrossover.cs
r17226 r17698 30 30 [StorableType("E26BAD0A-49E6-477C-AEA0-CB41552F0B2B")] 31 31 public abstract class VRPCrossover : VRPOperator, IVRPCrossover { 32 public ILookupParameter<ItemArray<IVRPEncod ing>> ParentsParameter {33 get { return (ScopeTreeLookupParameter<IVRPEncod ing>)Parameters["Parents"]; }32 public ILookupParameter<ItemArray<IVRPEncodedSolution>> ParentsParameter { 33 get { return (ScopeTreeLookupParameter<IVRPEncodedSolution>)Parameters["Parents"]; } 34 34 } 35 35 36 public ILookupParameter<IVRPEncod ing> ChildParameter {37 get { return (ILookupParameter<IVRPEncod ing>)Parameters["Child"]; }36 public ILookupParameter<IVRPEncodedSolution> ChildParameter { 37 get { return (ILookupParameter<IVRPEncodedSolution>)Parameters["Child"]; } 38 38 } 39 39 … … 43 43 public VRPCrossover() 44 44 : base() { 45 Parameters.Add(new ScopeTreeLookupParameter<IVRPEncod ing>("Parents", "The parent permutations which should be crossed."));45 Parameters.Add(new ScopeTreeLookupParameter<IVRPEncodedSolution>("Parents", "The parent permutations which should be crossed.")); 46 46 ParentsParameter.ActualName = "VRPTours"; 47 Parameters.Add(new LookupParameter<IVRPEncod ing>("Child", "The child permutation resulting from the crossover."));47 Parameters.Add(new LookupParameter<IVRPEncodedSolution>("Child", "The child permutation resulting from the crossover.")); 48 48 ChildParameter.ActualName = "VRPTours"; 49 49 }
Note: See TracChangeset
for help on using the changeset viewer.