Changeset 15276
- Timestamp:
- 07/20/17 22:54:54 (7 years ago)
- Location:
- trunk/sources/HeuristicLab.Problems.BinPacking/3.3/3D
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.BinPacking/3.3/3D/BinPacking3D.cs
r15241 r15276 237 237 if (positionFound != null) { 238 238 PackItem(itemID, item, positionFound); 239 if ( !(positionFound.X == 0 && positionFound.Y == 0 && positionFound.Z == 0)) {239 if (Items.Count > 1) 240 240 UpdateResidualSpace(item, positionFound); 241 }242 241 sequence.Remove(itemID); 243 242 } -
trunk/sources/HeuristicLab.Problems.BinPacking/3.3/3D/PermutationEncoding/ExtremePointPermutationDecoderBase.cs
r15230 r15276 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-2016 Joseph Helm andHeuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2016 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
trunk/sources/HeuristicLab.Problems.BinPacking/3.3/3D/PermutationEncoding/FreeVolumeBestFitExtremePointPermutationDecoder.cs
r15230 r15276 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-2016 Joseph Helm andHeuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2016 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
trunk/sources/HeuristicLab.Problems.BinPacking/3.3/3D/PermutationEncoding/ResidualSpaceBestFitExtremePointPermutationDecoder.cs
r15230 r15276 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-2016 Joseph Helm andHeuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2016 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
trunk/sources/HeuristicLab.Problems.BinPacking/3.3/3D/ProblemBase.cs
r15230 r15276 236 236 BinShape = data.BinShape; 237 237 var items = new ItemList<PackingItem>(data.Items); 238 items.Sort((x, y) => y.CompareTo(x)); 238 239 Items = items.AsReadOnly(); 239 240
Note: See TracChangeset
for help on using the changeset viewer.