Changeset 9563 for branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking/3.3/Decoders/3D/DBL
- Timestamp:
- 06/02/13 04:26:26 (12 years ago)
- Location:
- branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking/3.3/Decoders/3D/DBL
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking/3.3/Decoders/3D/DBL/DeepestBottomLeftFunctions.cs
r9495 r9563 8 8 using HeuristicLab.Encodings.PackingEncoding.MultiComponentVector; 9 9 using HeuristicLab.Encodings.PackingEncoding.PackingSequence; 10 using HeuristicLab.Encodings.PermutationEncoding; 10 11 using HeuristicLab.Problems.BinPacking.Dimensions; 11 12 using HeuristicLab.Problems.BinPacking.Interfaces; -
branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking/3.3/Decoders/3D/DBL/DeepestBottomLeftGroupingVectorDecoder.cs
r9495 r9563 43 43 ThreeDimensionalPacking, 44 44 CuboidPackingBin, 45 CuboidPackingItem> {45 CuboidPackingItem>, I3DGVDecoder { 46 46 47 47 public DeepestBottomLeftGroupingVectorDecoder() … … 59 59 60 60 61 public override PackingPlan<ThreeDimensionalPacking, CuboidPackingBin, CuboidPackingItem> CreatePackingPlanFromEncoding(I PackingSolutionEncodingencodedSolution, CuboidPackingBin binMeasures, ItemList<CuboidPackingItem> itemMeasures) {61 public override PackingPlan<ThreeDimensionalPacking, CuboidPackingBin, CuboidPackingItem> CreatePackingPlanFromEncoding(IItem encodedSolution, CuboidPackingBin binMeasures, ItemList<CuboidPackingItem> itemMeasures) { 62 62 63 63 var solution = encodedSolution as GroupingVectorEncoding; … … 65 65 66 66 PackingPlan<ThreeDimensionalPacking, CuboidPackingBin, CuboidPackingItem> result = new PackingPlan<ThreeDimensionalPacking, CuboidPackingBin, CuboidPackingItem>( 67 PackingBinMeasuresParameter.ActualValue, PackingItemMeasuresParameter.ActualValue);67 binMeasures, itemMeasures); 68 68 69 69 ObservableDictionary<int, ThreeDimensionalPacking> packingPositions = DeepestBottomLeftFunctions.DeepestLeftBottomPacking( 70 70 solution, 71 PackingBinMeasuresParameter.ActualValue,72 PackingItemMeasuresParameter.ActualValue);71 binMeasures, 72 itemMeasures); 73 73 74 74 -
branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking/3.3/Decoders/3D/DBL/DeepestBottomLeftMultiComponentVectorDecoder.cs
r9495 r9563 44 44 ThreeDimensionalPacking, 45 45 CuboidPackingBin, 46 CuboidPackingItem> {46 CuboidPackingItem>, I3DMCVDecoder { 47 47 48 48 public DeepestBottomLeftMultiComponentVectorDecoder() … … 60 60 61 61 62 public override PackingPlan<ThreeDimensionalPacking, CuboidPackingBin, CuboidPackingItem> CreatePackingPlanFromEncoding(I PackingSolutionEncodingencodedSolution, CuboidPackingBin binMeasures, ItemList<CuboidPackingItem> itemMeasures) {62 public override PackingPlan<ThreeDimensionalPacking, CuboidPackingBin, CuboidPackingItem> CreatePackingPlanFromEncoding(IItem encodedSolution, CuboidPackingBin binMeasures, ItemList<CuboidPackingItem> itemMeasures) { 63 63 64 64 var solution = encodedSolution as MultiComponentVectorEncoding; … … 66 66 67 67 PackingPlan<ThreeDimensionalPacking, CuboidPackingBin, CuboidPackingItem> result = 68 new PackingPlan<ThreeDimensionalPacking, CuboidPackingBin, CuboidPackingItem>( PackingBinMeasuresParameter.ActualValue, PackingItemMeasuresParameter.ActualValue);68 new PackingPlan<ThreeDimensionalPacking, CuboidPackingBin, CuboidPackingItem>(binMeasures, itemMeasures); 69 69 70 70 result.PackingItemPositions = DeepestBottomLeftFunctions.DeepestLeftBottomPacking (solution, binMeasures, itemMeasures); -
branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking/3.3/Decoders/3D/DBL/DeepestBottomLeftPackingSequenceDecoder.cs
r9495 r9563 43 43 ThreeDimensionalPacking, 44 44 CuboidPackingBin, 45 CuboidPackingItem> {45 CuboidPackingItem>, I3DPSDecoder { 46 46 47 47 public DeepestBottomLeftPackingSequenceDecoder() … … 59 59 60 60 61 public override PackingPlan<ThreeDimensionalPacking, CuboidPackingBin, CuboidPackingItem> CreatePackingPlanFromEncoding(I PackingSolutionEncodingencodedSolution, CuboidPackingBin binMeasures, ItemList<CuboidPackingItem> itemMeasures) {61 public override PackingPlan<ThreeDimensionalPacking, CuboidPackingBin, CuboidPackingItem> CreatePackingPlanFromEncoding(IItem encodedSolution, CuboidPackingBin binMeasures, ItemList<CuboidPackingItem> itemMeasures) { 62 62 63 63 var solution = encodedSolution as PackingSequenceEncoding; … … 65 65 66 66 PackingPlan<ThreeDimensionalPacking, CuboidPackingBin, CuboidPackingItem> result = 67 new PackingPlan<ThreeDimensionalPacking, CuboidPackingBin, CuboidPackingItem>( PackingBinMeasuresParameter.ActualValue, PackingItemMeasuresParameter.ActualValue);67 new PackingPlan<ThreeDimensionalPacking, CuboidPackingBin, CuboidPackingItem>(binMeasures, itemMeasures); 68 68 69 69 result.PackingItemPositions = DeepestBottomLeftFunctions.DeepestLeftBottomPacking (solution, binMeasures, itemMeasures);
Note: See TracChangeset
for help on using the changeset viewer.