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.Problems.Scheduling/3.3/Decoders/ScheduleDecoder.cs

    r12012 r13435  
    3232  public abstract class ScheduleDecoder : SingleSuccessorOperator, IScheduleDecoder {
    3333
    34     public ILookupParameter<IScheduleEncoding> ScheduleEncodingParameter {
    35       get { return (ILookupParameter<IScheduleEncoding>)Parameters["ScheduleEncoding"]; }
     34    public ILookupParameter<ISchedule> ScheduleEncodingParameter {
     35      get { return (ILookupParameter<ISchedule>)Parameters["ScheduleEncoding"]; }
    3636    }
    3737    public ILookupParameter<Schedule> ScheduleParameter {
     
    4444    public ScheduleDecoder()
    4545      : base() {
    46       Parameters.Add(new LookupParameter<IScheduleEncoding>("ScheduleEncoding", "The new scheduling solution represented as encoding."));
     46      Parameters.Add(new LookupParameter<ISchedule>("ScheduleEncoding", "The new scheduling solution represented as encoding."));
    4747      Parameters.Add(new LookupParameter<Schedule>("Schedule", "The decoded scheduling solution represented as generalized schedule."));
    4848    }
    4949
    50     public abstract Schedule CreateScheduleFromEncoding(IScheduleEncoding solution);
     50    public abstract Schedule CreateScheduleFromEncoding(ISchedule solution);
    5151
    5252    public override IOperation Apply() {
Note: See TracChangeset for help on using the changeset viewer.