- Timestamp:
- 07/12/16 19:44:08 (8 years ago)
- Location:
- branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.2D/3.3
- Files:
-
- 1 added
- 1 deleted
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.2D/3.3/Decoders/BL/BottomLeftGroupingVectorDecoder.cs
r14046 r14047 45 45 var solution = encodedSolution as GroupingVectorEncoding; 46 46 if (solution == null) throw new InvalidOperationException("Encoding is not of type GroupingVector"); 47 PackingPlan2D result = new PackingPlan2D(binMeasures);47 Solution result = new Solution(binMeasures); 48 48 result.Pack(solution, itemMeasures); 49 49 return result; -
branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.2D/3.3/Decoders/BL/BottomLeftMultiComponentVectorDecoder.cs
r14046 r14047 45 45 var solution = encodedSolution as MultiComponentVectorEncoding; 46 46 if (solution == null) throw new InvalidOperationException("Encoding is not of type MultiComponent Vector"); 47 PackingPlan2D result = new PackingPlan2D(binMeasures);47 Solution result = new Solution(binMeasures); 48 48 result.Pack(solution, itemMeasures); 49 49 return result; -
branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.2D/3.3/Decoders/BL/BottomLeftPackingSequenceDecoder.cs
r14046 r14047 47 47 var solution = encodedSolution as PackingSequenceEncoding; 48 48 if (solution == null) throw new InvalidOperationException("Encoding is not of type PackingSequence"); 49 PackingPlan2D result = new PackingPlan2D(binMeasures);49 Solution result = new Solution(binMeasures); 50 50 result.Pack(solution, itemMeasures); 51 51 return result; -
branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.2D/3.3/Decoders/EP/ExtremePointGroupingVectorDecoder2D.cs
r14046 r14047 44 44 45 45 public static PackingPlan<TwoDimensionalPacking, RectangularPackingShape, RectangularPackingItem> Decode(GroupingVectorEncoding solution, RectangularPackingShape binMeasures, ItemList<RectangularPackingItem> itemMeasures) { 46 PackingPlan2D result = new PackingPlan2D(binMeasures, true, false);46 Solution result = new Solution(binMeasures, true, false); 47 47 result.Pack(solution, itemMeasures); 48 48 return result; -
branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.2D/3.3/Decoders/EP/ExtremePointMultiComponentVectorDecoder2D.cs
r14046 r14047 43 43 44 44 public static PackingPlan<TwoDimensionalPacking, RectangularPackingShape, RectangularPackingItem> Decode(MultiComponentVectorEncoding solution, RectangularPackingShape binMeasures, ItemList<RectangularPackingItem> itemMeasures) { 45 PackingPlan2D result = new PackingPlan2D(binMeasures, true, false);45 Solution result = new Solution(binMeasures, true, false); 46 46 result.Pack(solution, itemMeasures); 47 47 return result; -
branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.2D/3.3/Decoders/EP/ExtremePointPackingSequenceDecoder2D.cs
r14046 r14047 47 47 var solution = encodedSolution as PackingSequenceEncoding; 48 48 if (solution == null) throw new InvalidOperationException("Encoding is not of type PackingSequence"); 49 PackingPlan2D result = new PackingPlan2D(binMeasures, true, false);49 Solution result = new Solution(binMeasures, true, false); 50 50 result.Pack(solution, itemMeasures); 51 51 return result; -
branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.2D/3.3/HeuristicLab.Problems.BinPacking2D-3.3.csproj
r14045 r14047 172 172 <Compile Include="MoveEvaluators\PackingMoveEvaluator2DMCV.cs" /> 173 173 <Compile Include="MoveEvaluators\PackingMoveEvaluator2DPS.cs" /> 174 <Compile Include="PackingPlan2D.cs" />175 174 <Compile Include="PackingRatioRectangularIdenticalBinEvaluator.cs" /> 176 175 <Compile Include="Plugin.cs" /> … … 179 178 <Compile Include="RectangularPackingItem.cs" /> 180 179 <Compile Include="RectangularPackingShape.cs" /> 180 <Compile Include="Solution.cs" /> 181 181 <Compile Include="TwoDimensionalPacking.cs" /> 182 182 </ItemGroup>
Note: See TracChangeset
for help on using the changeset viewer.