Ignore:
Timestamp:
12/04/15 10:35:04 (5 years ago)
Author:
mkommend
Message:

#2521: Intermediate version of schedule encoding refactoring.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ProblemRefactoring/HeuristicLab.Encodings.ScheduleEncoding/3.3/ScheduleCreator.cs

    r12012 r13435  
    3131  public abstract class ScheduleCreator : InstrumentedOperator, IScheduleCreator {
    3232
    33     public ILookupParameter<IScheduleEncoding> ScheduleEncodingParameter {
    34       get { return (ILookupParameter<IScheduleEncoding>)Parameters["ScheduleEncoding"]; }
     33    public ILookupParameter<ISchedule> ScheduleParameter {
     34      get { return (ILookupParameter<ISchedule>)Parameters["Schedule"]; }
    3535    }
    3636
     
    4040    public ScheduleCreator()
    4141      : base() {
    42       Parameters.Add(new LookupParameter<IScheduleEncoding>("ScheduleEncoding", "The new scheduling solutioncandidate."));
     42      Parameters.Add(new LookupParameter<ISchedule>("Schedule", "The new scheduling solutioncandidate."));
    4343    }
    4444
    4545    public override IOperation InstrumentedApply() {
    46       ScheduleEncodingParameter.ActualValue = CreateSolution();
     46      ScheduleParameter.ActualValue = CreateSolution();
    4747      return base.InstrumentedApply();
    4848    }
    4949
    50     protected abstract IScheduleEncoding CreateSolution();
     50    protected abstract ISchedule CreateSolution();
    5151  }
    5252}
Note: See TracChangeset for help on using the changeset viewer.