Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/12/16 18:23:13 (8 years ago)
Author:
gkronber
Message:

#1966: removed types for *PackingBin because PackingBins and PackingShapes have the same capabilities

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.3D/3.3/Decoders/DBL/DeepestBottomLeftPackingSequenceDecoder.cs

    r13032 r14045  
    2424using HeuristicLab.Core;
    2525using HeuristicLab.Problems.BinPacking.Dimensions;
    26 using HeuristicLab.Problems.BinPacking.PackingBin;
     26
    2727using HeuristicLab.Problems.BinPacking.PackingItem;
    2828using HeuristicLab.Encodings.PackingEncoding.PackingPlan;
     
    3030using HeuristicLab.Encodings.PackingEncoding.PackingSequence;
    3131using HeuristicLab.Problems.BinPacking.Interfaces;
     32using HeuristicLab.Problems.BinPacking.Shapes;
    3233
    3334namespace HeuristicLab.Problems.BinPacking.Decoders {
    3435  [Item("Identical bin, three dimensional, PackingSequence-decoder", "<Description missing...>")]
    3536  [StorableClass]
    36   public class DeepestBottomLeftPackingSequenceDecoder : PackingSolutionDecoder<ThreeDimensionalPacking, CuboidPackingBin, CuboidPackingItem>, I3DPSDecoder {
     37  public class DeepestBottomLeftPackingSequenceDecoder : PackingSolutionDecoder<ThreeDimensionalPacking, CuboidPackingShape, CuboidPackingItem>, I3DPSDecoder {
    3738    public DeepestBottomLeftPackingSequenceDecoder(): base() {}
    3839    [StorableConstructor]
     
    4546    }
    4647
    47     public override PackingPlan<ThreeDimensionalPacking, CuboidPackingBin, CuboidPackingItem> CreatePackingPlanFromEncoding(IItem encodedSolution, CuboidPackingBin binMeasures, ItemList<CuboidPackingItem> itemMeasures) {
     48    public override PackingPlan<ThreeDimensionalPacking, CuboidPackingShape, CuboidPackingItem> CreatePackingPlanFromEncoding(IItem encodedSolution, CuboidPackingShape binMeasures, ItemList<CuboidPackingItem> itemMeasures) {
    4849      var solution = encodedSolution as PackingSequenceEncoding;
    4950      if (solution == null) throw new InvalidOperationException("Encoding is not of type PackingSequence");
Note: See TracChangeset for help on using the changeset viewer.