Changeset 14047 for branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.3D/3.3/Solution.cs
- Timestamp:
- 07/12/16 19:44:08 (8 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.3D/3.3/Solution.cs
r14046 r14047 5 5 6 6 namespace HeuristicLab.Problems.BinPacking3D { 7 [Item(" PackingPlan3D", "Represents a solution for a 3D bin packing problem.")]7 [Item("Bin Packing Solution (3d)", "Represents a solution for a 3D bin packing problem.")] 8 8 [StorableClass] 9 public class PackingPlan3D: PackingPlan<ThreeDimensionalPacking, CuboidPackingShape, CuboidPackingItem> {10 public PackingPlan3D(CuboidPackingShape binMeasures) : this(binMeasures, false, false) { }11 public PackingPlan3D(CuboidPackingShape binMeasures, bool useExtremePoints, bool stackingConstraints) : base(binMeasures, useExtremePoints, stackingConstraints) { }9 public class Solution : PackingPlan<ThreeDimensionalPacking, CuboidPackingShape, CuboidPackingItem> { 10 public Solution(CuboidPackingShape binMeasures) : this(binMeasures, false, false) { } 11 public Solution(CuboidPackingShape binMeasures, bool useExtremePoints, bool stackingConstraints) : base(binMeasures, useExtremePoints, stackingConstraints) { } 12 12 [StorableConstructor] 13 protected PackingPlan3D(bool deserializing) : base(deserializing) { }14 protected PackingPlan3D(PackingPlan3Doriginal, Cloner cloner)13 protected Solution(bool deserializing) : base(deserializing) { } 14 protected Solution(Solution original, Cloner cloner) 15 15 : base(original, cloner) { 16 16 } 17 17 public override IDeepCloneable Clone(Cloner cloner) { 18 return new PackingPlan3D(this, cloner);18 return new Solution(this, cloner); 19 19 } 20 20 public override BinPacking<ThreeDimensionalPacking, CuboidPackingShape, CuboidPackingItem> NewBinPacking() {
Note: See TracChangeset
for help on using the changeset viewer.