Changeset 15820 for branches/2817-BinPackingSpeedup/HeuristicLab.Problems.BinPacking/3.3/3D/ExtremePointCreation/PointProjectionBasedEPCreator.cs
- Timestamp:
- 02/28/18 14:05:31 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2817-BinPackingSpeedup/HeuristicLab.Problems.BinPacking/3.3/3D/ExtremePointCreation/PointProjectionBasedEPCreator.cs
r15731 r15820 49 49 return; 50 50 } 51 51 52 52 // generate all new extreme points parallel. This speeds up the creator. 53 53 var items = binPacking.Items.OrderBy(x => x.Value.Layer); … … 57 57 GenerateNewExtremePointsForItem(binPacking, it, pos); 58 58 }); 59 ExtremePointPruningFactory.CreatePruning().PruneExtremePoints(ExtremePointPruningMethod.PruneBehind, new List<BinPacking3D>() { binPacking }); 60 59 61 60 Parallel.ForEach(items.Where(x => x.Value.Layer >= item.Layer), i => { 62 61 PackingItem it = i.Value; … … 64 63 GenerateNewExtremePointsForItem(binPacking, it, pos); 65 64 }); 66 65 67 66 // remove not needed extreme points. 68 67 foreach (var extremePoint in binPacking.ExtremePoints.ToList()) {
Note: See TracChangeset
for help on using the changeset viewer.