Changeset 13435 for branches/ProblemRefactoring/HeuristicLab.Encodings.ScheduleEncoding/3.3/ScheduleCrossover.cs
- Timestamp:
- 12/04/15 10:35:04 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ProblemRefactoring/HeuristicLab.Encodings.ScheduleEncoding/3.3/ScheduleCrossover.cs
r12012 r13435 32 32 public abstract class ScheduleCrossover : InstrumentedOperator, IScheduleCrossover, IStochasticOperator { 33 33 34 public ILookupParameter<ISchedule Encoding> ChildParameter {35 get { return (ILookupParameter<ISchedule Encoding>)Parameters["Child"]; }34 public ILookupParameter<ISchedule> ChildParameter { 35 get { return (ILookupParameter<ISchedule>)Parameters["Child"]; } 36 36 } 37 public IScopeTreeLookupParameter<ISchedule Encoding> ParentsParameter {38 get { return (IScopeTreeLookupParameter<ISchedule Encoding>)Parameters["Parents"]; }37 public IScopeTreeLookupParameter<ISchedule> ParentsParameter { 38 get { return (IScopeTreeLookupParameter<ISchedule>)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 Encoding>("Child", "The child solution resulting from the crossover."));51 ChildParameter.ActualName = "Schedul ingSolution";52 Parameters.Add(new ScopeTreeLookupParameter<ISchedule Encoding>("Parents", "The parent solution which should be crossed."));53 ParentsParameter.ActualName = "Schedul ingSolution";50 Parameters.Add(new LookupParameter<ISchedule>("Child", "The child solution resulting from the crossover.")); 51 ChildParameter.ActualName = "Schedule"; 52 Parameters.Add(new ScopeTreeLookupParameter<ISchedule>("Parents", "The parent solution which should be crossed.")); 53 ParentsParameter.ActualName = "Schedule"; 54 54 } 55 55 }
Note: See TracChangeset
for help on using the changeset viewer.