Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/12/16 17:51:37 (6 years ago)
Author:
gkronber
Message:

#1966:

  • removed separation of general bin packing problems and 'regular' (=rectangular or cuboid) bin packing problems (=> all our bin packing problems are regular)
  • removed ISOContainer BinPacking problem (seems to be just a minor variant for generic 3d bin packing)
Location:
branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.2D/3.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.2D/3.3/BinPacking2D.cs

    r14038 r14040  
    6666        ExtremePoints.Add(new TwoDimensionalPacking(0, sourcePointX.X, sourcePointX.Y));
    6767      }
    68 
    69 
    70 
    7168
    7269      //Find ExtremePoints beginning from sourcepointY
  • branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.2D/3.3/RectangularIdenticalBinPackingProblem.cs

    r14039 r14040  
    4141  [StorableClass]
    4242  [Creatable(CreatableAttribute.Categories.CombinatorialProblems, Priority = 300)]
    43   public class RectangularIdenticalBinPackingProblem : RegularIdenticalBinPackingProblem<TwoDimensionalPacking, RectangularPackingBin, RectangularPackingItem> {
     43  // TODO: only support 2d BPPData
     44  public class RectangularIdenticalBinPackingProblem : BinPackingProblem<TwoDimensionalPacking, RectangularPackingBin, RectangularPackingItem>, IProblemInstanceConsumer<BPPData>, IProblemInstanceExporter<BPPData> {
    4445
    4546    #region Default Instance
     
    104105
    105106    #region Problem instance handling
    106     public override void Load(BPPData data) {
     107    public void Load(BPPData data) {
    107108      var realData = data as RealBPPData;
    108109      var binData = new RectangularPackingBin(data.BinMeasures[0], data.BinMeasures[1]);
     
    131132
    132133
    133     public override BPPData Export() {
     134    public BPPData Export() {
    134135      var result = new BPPData {
    135136        Name = Name,
Note: See TracChangeset for help on using the changeset viewer.