Line | |
---|
1 | using HeuristicLab.Common;
|
---|
2 | using HeuristicLab.Core;
|
---|
3 | using HeuristicLab.Encodings.PackingEncoding.PackingPlan;
|
---|
4 | using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
|
---|
5 | using HeuristicLab.Problems.BinPacking.Dimensions;
|
---|
6 | using HeuristicLab.Problems.BinPacking.PackingBin;
|
---|
7 | using HeuristicLab.Problems.BinPacking.PackingItem;
|
---|
8 |
|
---|
9 | namespace HeuristicLab.Problems.BinPacking {
|
---|
10 | [Item("PackingPlan3D", "Represents a solution for a 3D bin packing problem.")]
|
---|
11 | [StorableClass]
|
---|
12 | public class PackingPlan3D : PackingPlan<ThreeDimensionalPacking, CuboidPackingBin, CuboidPackingItem> {
|
---|
13 | public PackingPlan3D(CuboidPackingBin binMeasures) : this(binMeasures, false, false) { }
|
---|
14 | public PackingPlan3D(CuboidPackingBin binMeasures, bool useExtremePoints, bool stackingConstraints) : base(binMeasures, useExtremePoints, stackingConstraints) { }
|
---|
15 | [StorableConstructor]
|
---|
16 | protected PackingPlan3D(bool deserializing) : base(deserializing) { }
|
---|
17 | protected PackingPlan3D(PackingPlan3D original, Cloner cloner)
|
---|
18 | : base(original, cloner) {
|
---|
19 | }
|
---|
20 | public override IDeepCloneable Clone(Cloner cloner) {
|
---|
21 | return new PackingPlan3D(this, cloner);
|
---|
22 | }
|
---|
23 | public override BinPacking<ThreeDimensionalPacking, CuboidPackingBin, CuboidPackingItem> NewBinPacking() {
|
---|
24 | return new BinPacking3D(BinMeasures);
|
---|
25 | }
|
---|
26 | }
|
---|
27 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.