Changeset 17461 for branches/2521_ProblemRefactoring/HeuristicLab.Encodings.ScheduleEncoding/3.3/ScheduleCrossover.cs
- Timestamp:
- 02/28/20 16:23:01 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Encodings.ScheduleEncoding/3.3/ScheduleCrossover.cs
r17226 r17461 32 32 public abstract class ScheduleCrossover : InstrumentedOperator, IScheduleCrossover, IStochasticOperator { 33 33 34 public ILookupParameter<ISchedule > ChildParameter {35 get { return (ILookupParameter<ISchedule >)Parameters["Child"]; }34 public ILookupParameter<IScheduleSolution> ChildParameter { 35 get { return (ILookupParameter<IScheduleSolution>)Parameters["Child"]; } 36 36 } 37 public IScopeTreeLookupParameter<ISchedule > ParentsParameter {38 get { return (IScopeTreeLookupParameter<ISchedule >)Parameters["Parents"]; }37 public IScopeTreeLookupParameter<IScheduleSolution> ParentsParameter { 38 get { return (IScopeTreeLookupParameter<IScheduleSolution>)Parameters["Parents"]; } 39 39 } 40 40 public ILookupParameter<IRandom> RandomParameter { … … 48 48 : base() { 49 49 Parameters.Add(new LookupParameter<IRandom>("Random", "The pseudo random number generator which should be used for stochastic manipulation operators.")); 50 Parameters.Add(new LookupParameter<ISchedule >("Child", "The child solution resulting from the crossover."));50 Parameters.Add(new LookupParameter<IScheduleSolution>("Child", "The child solution resulting from the crossover.")); 51 51 ChildParameter.ActualName = "Schedule"; 52 Parameters.Add(new ScopeTreeLookupParameter<ISchedule >("Parents", "The parent solution which should be crossed."));52 Parameters.Add(new ScopeTreeLookupParameter<IScheduleSolution>("Parents", "The parent solution which should be crossed.")); 53 53 ParentsParameter.ActualName = "Schedule"; 54 54 }
Note: See TracChangeset
for help on using the changeset viewer.