Free cookie consent management tool by TermsFeed Policy Generator

source: branches/3107_LearningALPS/HeuristicLab.Problems.BinPacking/3.3/3D/Solution.cs @ 17912

Last change on this file since 17912 was 16565, checked in by gkronber, 6 years ago

#2520: merged changes from PersistenceOverhaul branch (r16451:16564) into trunk

File size: 941 bytes
Line 
1using HeuristicLab.Common;
2using HeuristicLab.Core;
3using HEAL.Attic;
4using HeuristicLab.Problems.BinPacking;
5
6namespace HeuristicLab.Problems.BinPacking3D {
7  [Item("Bin Packing Solution (3d)", "Represents a solution for a 3D bin packing problem.")]
8  [StorableType("C0620C6F-3882-45CD-976F-4840ABD08BCD")]
9  public class Solution : PackingPlan<PackingPosition, PackingShape, PackingItem> {
10    public Solution(PackingShape binShape) : this(binShape, false, false) { }
11    public Solution(PackingShape binShape, bool useExtremePoints, bool stackingConstraints) : base(binShape, useExtremePoints, stackingConstraints) { }
12    [StorableConstructor]
13    protected Solution(StorableConstructorFlag _) : base(_) { }
14    protected Solution(Solution original, Cloner cloner)
15      : base(original, cloner) {
16    }
17    public override IDeepCloneable Clone(Cloner cloner) {
18      return new Solution(this, cloner);
19    }
20  }
21}
Note: See TracBrowser for help on using the repository browser.