Last change
on this file since 15273 was
14153,
checked in by gkronber, 8 years ago
|
#1966: implemented 3d bin packing problems (using permutation and integer vector encoding) based on the 2d implementations
|
File size:
971 bytes
|
Rev | Line | |
---|
[13606] | 1 | using HeuristicLab.Common;
|
---|
| 2 | using HeuristicLab.Core;
|
---|
| 3 | using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
|
---|
[14151] | 4 | using HeuristicLab.Problems.BinPacking;
|
---|
[14045] | 5 |
|
---|
[14046] | 6 | namespace HeuristicLab.Problems.BinPacking3D {
|
---|
[14047] | 7 | [Item("Bin Packing Solution (3d)", "Represents a solution for a 3D bin packing problem.")]
|
---|
[13606] | 8 | [StorableClass]
|
---|
[14049] | 9 | public class Solution : PackingPlan<PackingPosition, PackingShape, PackingItem> {
|
---|
| 10 | public Solution(PackingShape binMeasures) : this(binMeasures, false, false) { }
|
---|
| 11 | public Solution(PackingShape binMeasures, bool useExtremePoints, bool stackingConstraints) : base(binMeasures, useExtremePoints, stackingConstraints) { }
|
---|
[13606] | 12 | [StorableConstructor]
|
---|
[14047] | 13 | protected Solution(bool deserializing) : base(deserializing) { }
|
---|
| 14 | protected Solution(Solution original, Cloner cloner)
|
---|
[13606] | 15 | : base(original, cloner) {
|
---|
| 16 | }
|
---|
| 17 | public override IDeepCloneable Clone(Cloner cloner) {
|
---|
[14047] | 18 | return new Solution(this, cloner);
|
---|
[13606] | 19 | }
|
---|
| 20 | }
|
---|
| 21 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.