Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/28/18 14:05:31 (7 years ago)
Author:
rhanghof
Message:

#2817:

  • Fixes for pruning
File:
1 edited

Legend:

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

    r15731 r15820  
    4949        return;
    5050      }
    51 
     51     
    5252      // generate all new extreme points parallel. This speeds up the creator.
    5353      var items = binPacking.Items.OrderBy(x => x.Value.Layer);
     
    5757        GenerateNewExtremePointsForItem(binPacking, it, pos);
    5858      });
    59       ExtremePointPruningFactory.CreatePruning().PruneExtremePoints(ExtremePointPruningMethod.PruneBehind, new List<BinPacking3D>() { binPacking });
    60 
     59     
    6160      Parallel.ForEach(items.Where(x => x.Value.Layer >= item.Layer), i => {
    6261        PackingItem it = i.Value;
     
    6463        GenerateNewExtremePointsForItem(binPacking, it, pos);
    6564      });
    66      
     65
    6766      // remove not needed extreme points.
    6867      foreach (var extremePoint in binPacking.ExtremePoints.ToList()) {
Note: See TracChangeset for help on using the changeset viewer.