Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/11/12 22:57:09 (11 years ago)
Author:
abeham
Message:

#1329:

  • Moved decoders and evaluators from encoding to problem
  • Removed unnecessary state variables in operators
  • Introduced parameters in interfaces and added wiring code
  • Removed ConcreteScheduleManipulator as it does not perform any manipulation
  • Made ErrorPolicy and ForcingStrategy configurable and added views for them
  • Renamed the SchedulingEvaluationAlgorithm and also converted the AlgorithmOperator to a SingleSuccessorOperator
  • Fixed Plugin- and AssemblyFileVersion
  • Added missing license headers
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Encodings.ScheduleEncoding/3.3/ScheduleManipulator.cs

    r8603 r8887  
    3030  [Item("ScheduleManipulator", "A scheduling manipulation operation.")]
    3131  [StorableClass]
    32   public abstract class ScheduleManipulator<T> : SingleSuccessorOperator, IScheduleManipulator, IStochasticOperator where T : Item {
    33     #region IScheduleManipulator Members
     32  public abstract class ScheduleManipulator : SingleSuccessorOperator, IScheduleManipulator, IStochasticOperator {
    3433
    35     public ILookupParameter<T> ScheduleEncodingParameter {
    36       get { return (ILookupParameter<T>)Parameters["ScheduleEncoding"]; }
     34    public ILookupParameter<IScheduleEncoding> ScheduleEncodingParameter {
     35      get { return (ILookupParameter<IScheduleEncoding>)Parameters["ScheduleEncoding"]; }
    3736    }
    38 
    39     #endregion
    4037
    4138    public ILookupParameter<IRandom> RandomParameter {
     
    4542    [StorableConstructor]
    4643    protected ScheduleManipulator(bool deserializing) : base(deserializing) { }
    47     protected ScheduleManipulator(ScheduleManipulator<T> original, Cloner cloner)
    48       : base(original, cloner) {
    49     }
     44    protected ScheduleManipulator(ScheduleManipulator original, Cloner cloner) : base(original, cloner) { }
    5045    public ScheduleManipulator()
    5146      : base() {
    52       Parameters.Add(new LookupParameter<T>("ScheduleEncoding", "The scheduling solution to be manipulated."));
     47      Parameters.Add(new LookupParameter<IScheduleEncoding>("ScheduleEncoding", "The scheduling solution to be manipulated."));
    5348      Parameters.Add(new LookupParameter<IRandom>("Random", "The pseudo random number generator which should be used for stochastic manipulation operators."));
    5449    }
Note: See TracChangeset for help on using the changeset viewer.