Ignore:
Timestamp:
01/16/18 15:40:43 (20 months ago)
Author:
rhanghof
Message:

#2817:

  • The items can be rotated and tilted now.
  • Added pruning of extreme points in packed bins.
  • Added new packer which packs items by positioning them on the point with the minimum of wasted space. He uses rotating and tilting of items.
  • Added classes for sorting given items.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2817-BinPackingSpeedup/HeuristicLab.Problems.BinPacking/3.3/3D/Instances/ThreeDInstanceParser.cs

    r15473 r15617  
    11#region License Information
    2 
    32/* HeuristicLab
    4  * Copyright (C) 2002-2017 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    54 *
    65 * This file is part of HeuristicLab.
     
    1918 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>.
    2019 */
    21 
    2220#endregion
    2321
     
    5856            var tilt = GetNextInteger(reader);
    5957            for (var i = 0; i < pieces; i++) {
    60               PackingItem item = new PackingItem(width, height, length, Bin, weight, material);
     58              PackingItem item = new PackingItem(width, height, length, Bin, weight, material) {
     59                RotateEnabled = rotate == 0 ? false : true,
     60                TiltEnabled = tilt == 0 ? false : true
     61              };
    6162              Items.Add(item);
    6263            }
Note: See TracChangeset for help on using the changeset viewer.