Changeset 14128 for branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.2D/3.3/Decoders/BL/BottomLeftPackingSequenceDecoder.cs
- Timestamp:
- 07/20/16 14:02:36 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.2D/3.3/Decoders/BL/BottomLeftPackingSequenceDecoder.cs
r14049 r14128 25 25 using HeuristicLab.Core; 26 26 using HeuristicLab.Common; 27 using HeuristicLab.Encodings.PackingEncoding.PackingSequence;28 27 using HeuristicLab.Problems.BinPacking; 29 28 using HeuristicLab.Encodings.PackingEncoding; 29 using HeuristicLab.Encodings.PermutationEncoding; 30 30 31 31 namespace HeuristicLab.Problems.BinPacking2D { … … 45 45 46 46 public override PackingPlan<PackingPosition, PackingShape, PackingItem> CreatePackingPlanFromEncoding(IItem encodedSolution, PackingShape binMeasures, ItemList<PackingItem> itemMeasures) { 47 var solution = encodedSolution as P ackingSequenceEncoding;47 var solution = encodedSolution as Permutation; 48 48 if (solution == null) throw new InvalidOperationException("Encoding is not of type PackingSequence"); 49 49 Solution result = new Solution(binMeasures);
Note: See TracChangeset
for help on using the changeset viewer.