Changeset 14149 for branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.2D/3.3/PermutationEncoding/ExtremePointPermutationDecoder.cs
- Timestamp:
- 07/21/16 12:06:43 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.2D/3.3/PermutationEncoding/ExtremePointPermutationDecoder.cs
r14148 r14149 29 29 [Item("Extreme-point Permutation Decoder (2d)", "Decodes the permutation and creates a packing solution candidate")] 30 30 [StorableClass] 31 public class ExtremePointPermutationDecoder : Item, I PermutationDecoder{31 public class ExtremePointPermutationDecoder : Item, IDecoder<Permutation> { 32 32 33 33 [StorableConstructor] … … 42 42 43 43 public Solution Decode(Permutation permutation, PackingShape binShape, IList<PackingItem> items) { 44 Solution result = new Solution(binShape, true,false);44 Solution result = new Solution(binShape, useExtremePoints: true, stackingConstraints: false); 45 45 IList<int> remainingIDs = new List<int>(permutation); 46 46 while (remainingIDs.Count > 0) {
Note: See TracChangeset
for help on using the changeset viewer.