Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/28/18 15:33:30 (7 years ago)
Author:
rhanghof
Message:

#2817:

  • Added the property SequenceGroup to the PackingItem
  • Fixed a bug related to the sequence group
File:
1 edited

Legend:

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

    r15820 r15822  
    5050      }
    5151     
    52       // generate all new extreme points parallel. This speeds up the creator.
    53       var items = binPacking.Items.OrderBy(x => x.Value.Layer);
    54       Parallel.ForEach(items.Where(x => x.Value.Layer < item.Layer), i => {
    55         PackingItem it = i.Value;
    56         PackingPosition pos = binPacking.Positions[i.Key];
    57         GenerateNewExtremePointsForItem(binPacking, it, pos);
    58       });
    59      
    60       Parallel.ForEach(items.Where(x => x.Value.Layer >= item.Layer), i => {
     52      // generate all new extreme points parallel. This speeds up the creator.     
     53      Parallel.ForEach(binPacking.Items, i => {
    6154        PackingItem it = i.Value;
    6255        PackingPosition pos = binPacking.Positions[i.Key];
Note: See TracChangeset for help on using the changeset viewer.