Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/04/15 10:35:04 (8 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/JobSequenceMatrix/Manipulators/JSMManipulator.cs

    r12012 r13435  
    3434    public JSMManipulator()
    3535      : base() {
    36       ScheduleEncodingParameter.ActualName = "JobSequenceMatrix";
     36      ScheduleParameter.ActualName = "JobSequenceMatrix";
    3737    }
    3838
    39     protected abstract void Manipulate(IRandom random, IScheduleEncoding individual);
     39    protected abstract void Manipulate(IRandom random, ISchedule individual);
    4040
    4141    public override IOperation InstrumentedApply() {
    42       var solution = ScheduleEncodingParameter.ActualValue as JSMEncoding;
     42      var solution = ScheduleParameter.ActualValue as JSMEncoding;
    4343      if (solution == null) throw new InvalidOperationException("ScheduleEncoding was not found or is not of type JSMEncoding.");
    4444      Manipulate(RandomParameter.ActualValue, solution);
Note: See TracChangeset for help on using the changeset viewer.