- Timestamp:
- 03/12/18 14:19:06 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2817-BinPackingSpeedup/HeuristicLab.Problems.BinPacking/3.3/3D/Packer/BinPackerMinRSLeft.cs
r15822 r15838 245 245 packingItem.Rotated = rsd.Item.Rotated; 246 246 packingItem.Tilted = rsd.Item.Tilted; 247 247 248 return rsd.Position; 248 249 } … … 254 255 $"Item: ({packingItem.Width} {packingItem.Depth} {packingItem.Height})"); 255 256 } 256 257 var rsd = CalculateResidalSpaceDifferences(packingBin, packingItem, useStackingConstraints).Where(x => x != null).FirstOrDefault(); 257 258 var rsds = CalculateResidalSpaceDifferences(packingBin, packingItem, useStackingConstraints).Where(x => x != null); 259 var rsd = rsds.FirstOrDefault(); 260 258 261 259 262 if (rsd == null) { … … 263 266 packingItem.Rotated = rsd.Item.Rotated; 264 267 packingItem.Tilted = rsd.Item.Tilted; 268 265 269 return rsd.Position; 266 270 }
Note: See TracChangeset
for help on using the changeset viewer.