Last change
on this file since 16462 was
16462,
checked in by jkarder, 6 years ago
|
#2520: worked on reintegration of new persistence
- added nuget references to HEAL.Fossil
- added StorableType attributes to many classes
- changed signature of StorableConstructors
- removed some classes in old persistence
- removed some unnecessary usings
|
File size:
942 bytes
|
Rev | Line | |
---|
[14162] | 1 | using HeuristicLab.Common;
|
---|
| 2 | using HeuristicLab.Core;
|
---|
[16462] | 3 | using HEAL.Fossil;
|
---|
[14162] | 4 | using HeuristicLab.Problems.BinPacking;
|
---|
| 5 |
|
---|
| 6 | namespace HeuristicLab.Problems.BinPacking3D {
|
---|
| 7 | [Item("Bin Packing Solution (3d)", "Represents a solution for a 3D bin packing problem.")]
|
---|
[16462] | 8 | [StorableType("C0620C6F-3882-45CD-976F-4840ABD08BCD")]
|
---|
[14162] | 9 | public class Solution : PackingPlan<PackingPosition, PackingShape, PackingItem> {
|
---|
[14167] | 10 | public Solution(PackingShape binShape) : this(binShape, false, false) { }
|
---|
| 11 | public Solution(PackingShape binShape, bool useExtremePoints, bool stackingConstraints) : base(binShape, useExtremePoints, stackingConstraints) { }
|
---|
[14162] | 12 | [StorableConstructor]
|
---|
[16462] | 13 | protected Solution(StorableConstructorFlag _) : base(_) { }
|
---|
[14162] | 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.