Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/12/16 16:35:10 (8 years ago)
Author:
gkronber
Message:

#1966: fixed compile errors and reverted some changes from the last commit which prepared for refactoring to use new Encoding framework

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking/3.3/Encodings/PackingSequence/PackingSequenceRandomCreator.cs

    r13613 r14038  
    3333  [Item("PackingSequenceCreator", "Creator class used to create PackingSequence solutions for bin packing problems.")]
    3434  [StorableClass]
    35   public class PackingSequenceRandomCreator : SingleSuccessorOperator, IPackingSequenceCreator, IStochasticOperator {
     35  public class PackingSequenceRandomCreator : PackingSolutionCreator, IStochasticOperator {
    3636
    3737    public ILookupParameter<IRandom> RandomParameter {
     
    7474      return solution;
    7575    }
    76 
     76    protected override IItem CreateSolution() {
     77      return Apply(PackingItemsParameter.ActualValue.Value, RandomParameter.ActualValue);
     78    }
    7779  }
    7880}
Note: See TracChangeset for help on using the changeset viewer.