Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/20/16 14:02:36 (8 years ago)
Author:
gkronber
Message:

#1966: refactoring of bin packing implementation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.2D/3.3/Decoders/BL/BottomLeftPackingSequenceDecoder.cs

    r14049 r14128  
    2525using HeuristicLab.Core;
    2626using HeuristicLab.Common;
    27 using HeuristicLab.Encodings.PackingEncoding.PackingSequence;
    2827using HeuristicLab.Problems.BinPacking;
    2928using HeuristicLab.Encodings.PackingEncoding;
     29using HeuristicLab.Encodings.PermutationEncoding;
    3030
    3131namespace HeuristicLab.Problems.BinPacking2D {
     
    4545
    4646    public override PackingPlan<PackingPosition, PackingShape, PackingItem> CreatePackingPlanFromEncoding(IItem encodedSolution, PackingShape binMeasures, ItemList<PackingItem> itemMeasures) {
    47       var solution = encodedSolution as PackingSequenceEncoding;
     47      var solution = encodedSolution as Permutation;
    4848      if (solution == null) throw new InvalidOperationException("Encoding is not of type PackingSequence");
    4949      Solution result = new Solution(binMeasures);
Note: See TracChangeset for help on using the changeset viewer.