Changeset 14045 for branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.2D/3.3/Decoders/BL/BottomLeftPackingSequenceDecoder.cs
- Timestamp:
- 07/12/16 18:23:13 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.2D/3.3/Decoders/BL/BottomLeftPackingSequenceDecoder.cs
r13607 r14045 25 25 using HeuristicLab.Core; 26 26 using HeuristicLab.Problems.BinPacking.Dimensions; 27 using HeuristicLab.Problems.BinPacking.PackingBin; 27 28 28 using HeuristicLab.Problems.BinPacking.PackingItem; 29 29 using HeuristicLab.Encodings.PackingEncoding.PackingPlan; … … 32 32 using HeuristicLab.Problems.BinPacking.Interfaces; 33 33 using HeuristicLab.Problems.BinPacking2D; 34 using HeuristicLab.Problems.BinPacking.Shapes; 34 35 35 36 namespace HeuristicLab.Problems.BinPacking.Decoders { 36 37 [Item("Identical bin, two dimensional, direct permutation decoder", "<Description missing...>")] 37 38 [StorableClass] 38 public class BottomLeftPackingSequenceDecoder : PackingSolutionDecoder<TwoDimensionalPacking, RectangularPacking Bin, RectangularPackingItem>, I2DPSDecoder {39 public class BottomLeftPackingSequenceDecoder : PackingSolutionDecoder<TwoDimensionalPacking, RectangularPackingShape, RectangularPackingItem>, I2DPSDecoder { 39 40 40 41 public BottomLeftPackingSequenceDecoder(): base() { } … … 48 49 } 49 50 50 public override PackingPlan<TwoDimensionalPacking, RectangularPacking Bin, RectangularPackingItem> CreatePackingPlanFromEncoding(IItem encodedSolution, RectangularPackingBinbinMeasures, ItemList<RectangularPackingItem> itemMeasures) {51 public override PackingPlan<TwoDimensionalPacking, RectangularPackingShape, RectangularPackingItem> CreatePackingPlanFromEncoding(IItem encodedSolution, RectangularPackingShape binMeasures, ItemList<RectangularPackingItem> itemMeasures) { 51 52 var solution = encodedSolution as PackingSequenceEncoding; 52 53 if (solution == null) throw new InvalidOperationException("Encoding is not of type PackingSequence");
Note: See TracChangeset
for help on using the changeset viewer.