Changeset 15520 for branches/2817-BinPackingSpeedup/HeuristicLab.Problems.BinPacking/3.3/BinPacking.cs
- Timestamp:
- 12/13/17 09:47:49 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2817-BinPackingSpeedup/HeuristicLab.Problems.BinPacking/3.3/BinPacking.cs
r15473 r15520 48 48 public TBin BinShape { get; private set; } 49 49 50 [Storable] 51 public SortedSet<TPos> ExtremePoints { get; protected set; } 50 52 51 53 52 public double PackingDensity { … … 71 70 Items = new ObservableDictionary<int, TItem>(); 72 71 BinShape = (TBin)binShape.Clone(); 73 ExtremePoints = new SortedSet<TPos>();74 72 } 75 73 … … 88 86 } 89 87 this.BinShape = (TBin)original.BinShape.Clone(cloner); 90 this.ExtremePoints = new SortedSet<TPos>(original.ExtremePoints.Select(p => cloner.Clone(p)));91 88 } 92 89
Note: See TracChangeset
for help on using the changeset viewer.