- Timestamp:
- 12/28/18 16:10:48 (6 years ago)
- Location:
- branches/2520_PersistenceReintegration/HeuristicLab.Problems.BinPacking/3.3
- Files:
-
- 45 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2520_PersistenceReintegration/HeuristicLab.Problems.BinPacking/3.3/2D/BinPacking2D.cs
r15583 r16462 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Fossil; 26 26 using HeuristicLab.Core; 27 27 using HeuristicLab.Common; … … 29 29 namespace HeuristicLab.Problems.BinPacking2D { 30 30 [Item("BinPacking2D", "Represents a single-bin packing for a 2D bin-packing problem.")] 31 [Storable Class]31 [StorableType("8B9C6AB0-ED65-4868-B1DF-09BD1F49309A")] 32 32 public class BinPacking2D : BinPacking.BinPacking<PackingPosition, PackingShape, PackingItem> { 33 33 … … 39 39 40 40 [StorableConstructor] 41 protected BinPacking2D( bool deserializing) : base(deserializing) { }41 protected BinPacking2D(StorableConstructorFlag _) : base(_) { } 42 42 protected BinPacking2D(BinPacking2D original, Cloner cloner) : base(original, cloner) { } 43 43 public override IDeepCloneable Clone(Cloner cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.BinPacking/3.3/2D/Evaluators/BinUtilizationEvaluator.cs
r15583 r16462 20 20 #endregion 21 21 22 using System;23 22 using System.Linq; 24 23 using HeuristicLab.Core; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Fossil; 26 25 using HeuristicLab.Common; 27 26 28 27 namespace HeuristicLab.Problems.BinPacking2D { 29 28 [Item("Bin-Utilization Evaluator (2d)", "Calculates the overall utilization of bin space.")] 30 [Storable Class]29 [StorableType("54C2F064-D3C8-40C0-808D-B952D0C43033")] 31 30 public class BinUtilizationEvaluator : Item, IEvaluator { 32 31 33 32 [StorableConstructor] 34 protected BinUtilizationEvaluator( bool deserializing) : base(deserializing) { }33 protected BinUtilizationEvaluator(StorableConstructorFlag _) : base(_) { } 35 34 protected BinUtilizationEvaluator(BinUtilizationEvaluator original, Cloner cloner) 36 35 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.BinPacking/3.3/2D/Evaluators/PackingRatioEvaluator.cs
r15583 r16462 23 23 using System.Linq; 24 24 using HeuristicLab.Core; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Fossil; 26 26 using HeuristicLab.Common; 27 27 28 28 namespace HeuristicLab.Problems.BinPacking2D { 29 29 [Item("Packing-Ratio Evaluator (2d)", "Calculates the ratio between packed and unpacked space.")] 30 [Storable Class]30 [StorableType("F07A6B7A-763B-413C-B3DA-916A6147B71A")] 31 31 public class PackingRatioEvaluator : Item, IEvaluator { 32 32 33 33 [StorableConstructor] 34 protected PackingRatioEvaluator( bool deserializing) : base(deserializing) { }34 protected PackingRatioEvaluator(StorableConstructorFlag _) : base(_) { } 35 35 protected PackingRatioEvaluator(PackingRatioEvaluator original, Cloner cloner) 36 36 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.BinPacking/3.3/2D/IntegerVectorEncoding/BottomLeftIntegerVectorDecoder.cs
r15583 r16462 20 20 #endregion 21 21 22 using System.Linq;23 22 using HeuristicLab.Core; 24 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;23 using HEAL.Fossil; 25 24 using HeuristicLab.Common; 26 25 using System.Collections.Generic; 27 using HeuristicLab.Encodings.IntegerVectorEncoding;28 26 29 27 namespace HeuristicLab.Problems.BinPacking2D { 30 28 [Item("Bottom-left IntegerVector Decoder (2d)", "Decodes the integer vector and creates a packing solution candidate")] 31 [Storable Class]29 [StorableType("27643FED-BADA-48BF-8A71-38C35D160961")] 32 30 public class BottomLeftIntegerVectorDecoder : IntegerVectorDecoderBase { 33 31 34 32 [StorableConstructor] 35 protected BottomLeftIntegerVectorDecoder( bool deserializing) : base(deserializing) { }33 protected BottomLeftIntegerVectorDecoder(StorableConstructorFlag _) : base(_) { } 36 34 protected BottomLeftIntegerVectorDecoder(BottomLeftIntegerVectorDecoder original, Cloner cloner) 37 35 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.BinPacking/3.3/2D/IntegerVectorEncoding/ExtremePointIntegerVectorDecoder.cs
r15583 r16462 21 21 22 22 using HeuristicLab.Core; 23 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;23 using HEAL.Fossil; 24 24 using HeuristicLab.Common; 25 25 using System.Collections.Generic; 26 using System.Linq;27 using HeuristicLab.Encodings.IntegerVectorEncoding;28 26 29 27 namespace HeuristicLab.Problems.BinPacking2D { 30 28 [Item("Extreme-point IntegerVector Decoder (2d)", "Decodes the integer vector and creates a packing solution candidate")] 31 [Storable Class]29 [StorableType("D40DEE7A-4AAC-47DA-9FA8-12D3C09177A7")] 32 30 public class ExtremePointIntegerVectorDecoder : IntegerVectorDecoderBase { 33 31 34 32 [StorableConstructor] 35 protected ExtremePointIntegerVectorDecoder( bool deserializing) : base(deserializing) { }33 protected ExtremePointIntegerVectorDecoder(StorableConstructorFlag _) : base(_) { } 36 34 protected ExtremePointIntegerVectorDecoder(ExtremePointIntegerVectorDecoder original, Cloner cloner) 37 35 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.BinPacking/3.3/2D/IntegerVectorEncoding/IntegerVectorDecoderBase.cs
r15583 r16462 21 21 22 22 using HeuristicLab.Core; 23 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;23 using HEAL.Fossil; 24 24 using HeuristicLab.Common; 25 25 using System.Collections.Generic; … … 28 28 29 29 namespace HeuristicLab.Problems.BinPacking2D { 30 [Storable Class]30 [StorableType("63588140-31BB-402A-BEEE-B11C8809A585")] 31 31 public abstract class IntegerVectorDecoderBase : Item, IDecoder<IntegerVector> { 32 32 33 33 [StorableConstructor] 34 protected IntegerVectorDecoderBase( bool deserializing) : base(deserializing) { }34 protected IntegerVectorDecoderBase(StorableConstructorFlag _) : base(_) { } 35 35 protected IntegerVectorDecoderBase(IntegerVectorDecoderBase original, Cloner cloner) 36 36 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.BinPacking/3.3/2D/IntegerVectorEncoding/IntegerVectorProblem.cs
r16453 r16462 30 30 using HeuristicLab.Optimization; 31 31 using HeuristicLab.Optimization.Operators; 32 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;32 using HEAL.Fossil; 33 33 34 34 namespace HeuristicLab.Problems.BinPacking2D { 35 35 [Item("Bin Packing Problem (2D, integer vector encoding) (BPP)", "Represents a two-dimensional bin-packing problem using only bins with identical measures and bins/items with rectangular shapes.")] 36 [Storable Class]36 [StorableType("0928004F-FB4B-4516-9FAE-B44D2F39413B")] 37 37 [Creatable(Category = CreatableAttribute.Categories.CombinatorialProblems, Priority = 310)] 38 38 public sealed class IntegerVectorProblem : ProblemBase<IntegerVectorEncoding, IntegerVector> { 39 39 // persistence 40 40 [StorableConstructor] 41 private IntegerVectorProblem( bool deserializing) : base(deserializing) { }41 private IntegerVectorProblem(StorableConstructorFlag _) : base(_) { } 42 42 43 43 // cloning -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.BinPacking/3.3/2D/MoveEvaluatorBase.cs
r15583 r16462 26 26 using HeuristicLab.Optimization; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Fossil; 29 29 30 30 namespace HeuristicLab.Problems.BinPacking2D { 31 [Storable Class]31 [StorableType("13553924-A74F-4897-ABAB-CD049CFD2B41")] 32 32 public abstract class MoveEvaluatorBase<TSol, TMove> : SingleSuccessorOperator, 33 33 ISingleObjectiveMoveEvaluator, ISingleObjectiveMoveOperator, IOperator<TSol> … … 61 61 62 62 [StorableConstructor] 63 protected MoveEvaluatorBase( bool deserializing) : base(deserializing) { }63 protected MoveEvaluatorBase(StorableConstructorFlag _) : base(_) { } 64 64 protected MoveEvaluatorBase(MoveEvaluatorBase<TSol, TMove> original, Cloner cloner) : base(original, cloner) { } 65 65 protected MoveEvaluatorBase() -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.BinPacking/3.3/2D/PackingItem.cs
r15583 r16462 21 21 22 22 23 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;23 using HEAL.Fossil; 24 24 using HeuristicLab.Common; 25 25 using HeuristicLab.Core; … … 30 30 namespace HeuristicLab.Problems.BinPacking2D { 31 31 [Item("PackingItem (2d)", "Represents a rectangular packing-item for bin-packing problems.")] 32 [Storable Class]32 [StorableType("36B693B0-3CD9-4EE2-97EF-B8BEA8E4877A")] 33 33 public class PackingItem : PackingShape, IPackingItem { 34 34 … … 49 49 50 50 [StorableConstructor] 51 protected PackingItem( bool deserializing) : base(deserializing) { }51 protected PackingItem(StorableConstructorFlag _) : base(_) { } 52 52 protected PackingItem(PackingItem original, Cloner cloner) 53 53 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.BinPacking/3.3/2D/PackingPosition.cs
r15583 r16462 21 21 22 22 using System; 23 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;23 using HEAL.Fossil; 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Common; … … 27 27 namespace HeuristicLab.Problems.BinPacking2D { 28 28 [Item("Packing Position (2d)", "Represents a packing-position associated with a two dimensional packing-problem.")] 29 [Storable Class]29 [StorableType("7B0A0FD9-2D2C-4E03-BB66-674446A07587")] 30 30 // PackingPosition is an immutable class (and handled as value type concerning Equals and GetHashCode()) 31 31 public class PackingPosition : BinPacking.PackingPosition, IComparable<PackingPosition> { … … 39 39 40 40 [StorableConstructor] 41 protected PackingPosition( bool deserializing) : base(deserializing) { }41 protected PackingPosition(StorableConstructorFlag _) : base(_) { } 42 42 protected PackingPosition(PackingPosition original, Cloner cloner) 43 43 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.BinPacking/3.3/2D/PackingShape.cs
r15583 r16462 23 23 using System; 24 24 using HeuristicLab.Core; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Fossil; 26 26 using HeuristicLab.Common; 27 27 using HeuristicLab.Data; … … 31 31 namespace HeuristicLab.Problems.BinPacking2D { 32 32 [Item("PackingShape (2d)", "Represents the rectangular measures (width, height) of a two-dimensional bin-packing object.")] 33 [Storable Class]33 [StorableType("11EF7917-826C-4154-A7E6-0869C1188B95")] 34 34 public class PackingShape : PackingShape<PackingPosition>, IComparable<PackingShape> { 35 35 public int Height { … … 44 44 45 45 [StorableConstructor] 46 protected PackingShape( bool deserializing) : base(deserializing) { }46 protected PackingShape(StorableConstructorFlag _) : base(_) { } 47 47 protected PackingShape(PackingShape original, Cloner cloner) 48 48 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.BinPacking/3.3/2D/PermutationEncoding/BottomLeftPermutationDecoder.cs
r15583 r16462 21 21 22 22 using HeuristicLab.Core; 23 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;23 using HEAL.Fossil; 24 24 using HeuristicLab.Common; 25 25 using System.Collections.Generic; … … 28 28 namespace HeuristicLab.Problems.BinPacking2D { 29 29 [Item("Bottom-left Permutation Decoder (2d)", "Decodes the permutation and creates a packing solution candidate")] 30 [Storable Class]30 [StorableType("BD0B1034-46EC-430A-B971-258FACC9A39B")] 31 31 public class BottomLeftPermutationDecoder : Item, IDecoder<Permutation> { 32 32 33 33 [StorableConstructor] 34 protected BottomLeftPermutationDecoder( bool deserializing) : base(deserializing) { }34 protected BottomLeftPermutationDecoder(StorableConstructorFlag _) : base(_) { } 35 35 protected BottomLeftPermutationDecoder(BottomLeftPermutationDecoder original, Cloner cloner) 36 36 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.BinPacking/3.3/2D/PermutationEncoding/ExtremePointPermutationDecoder.cs
r15583 r16462 21 21 22 22 using HeuristicLab.Core; 23 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;23 using HEAL.Fossil; 24 24 using HeuristicLab.Common; 25 25 using System.Collections.Generic; … … 28 28 namespace HeuristicLab.Problems.BinPacking2D { 29 29 [Item("Extreme-point Permutation Decoder (2d)", "Decodes the permutation and creates a packing solution candidate")] 30 [Storable Class]30 [StorableType("F50F332A-CFE7-4AB7-95C6-8D7943B3DEF2")] 31 31 public class ExtremePointPermutationDecoder : Item, IDecoder<Permutation> { 32 32 33 33 [StorableConstructor] 34 protected ExtremePointPermutationDecoder( bool deserializing) : base(deserializing) { }34 protected ExtremePointPermutationDecoder(StorableConstructorFlag _) : base(_) { } 35 35 protected ExtremePointPermutationDecoder(ExtremePointPermutationDecoder original, Cloner cloner) 36 36 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.BinPacking/3.3/2D/PermutationEncoding/PermutationProblem.cs
r16453 r16462 29 29 using HeuristicLab.Optimization; 30 30 using HeuristicLab.Optimization.Operators; 31 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;31 using HEAL.Fossil; 32 32 33 33 namespace HeuristicLab.Problems.BinPacking2D { 34 34 [Item("Bin Packing Problem (2D, permutation encoding) (BPP)", "Represents a two-dimensional bin-packing problem using only bins with identical measures and bins/items with rectangular shapes.")] 35 [Storable Class]35 [StorableType("BE95CC5D-7FFD-4BC7-A2FF-7D71D3B951F6")] 36 36 [Creatable(Category = CreatableAttribute.Categories.CombinatorialProblems, Priority = 300)] 37 37 public sealed class PermutationProblem : ProblemBase<PermutationEncoding, Permutation> { 38 38 // persistence 39 39 [StorableConstructor] 40 private PermutationProblem( bool deserializing) : base(deserializing) { }40 private PermutationProblem(StorableConstructorFlag _) : base(_) { } 41 41 42 42 // cloning -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.BinPacking/3.3/2D/PermutationEncoding/Swap2MoveEvaluator.cs
r15583 r16462 23 23 using HeuristicLab.Core; 24 24 using HeuristicLab.Encodings.PermutationEncoding; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Fossil; 26 26 27 27 namespace HeuristicLab.Problems.BinPacking2D { 28 28 [Item("Swap2MoveEvaluator", "Move evaluator for 2-opt moves.")] 29 [Storable Class]29 [StorableType("7C1A0291-AD10-457D-B7B3-3D2B5B02C58D")] 30 30 public sealed class Swap2MoveEvaluator : MoveEvaluatorBase<Permutation, Swap2Move>, IPermutationSwap2MoveOperator { 31 31 public ILookupParameter<Swap2Move> Swap2MoveParameter { … … 37 37 38 38 [StorableConstructor] 39 private Swap2MoveEvaluator( bool deserializing) : base(deserializing) { }39 private Swap2MoveEvaluator(StorableConstructorFlag _) : base(_) { } 40 40 private Swap2MoveEvaluator(Swap2MoveEvaluator original, Cloner cloner) : base(original, cloner) { } 41 41 public Swap2MoveEvaluator() -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.BinPacking/3.3/2D/PermutationEncoding/TranslocationMoveEvaluator.cs
r15583 r16462 23 23 using HeuristicLab.Core; 24 24 using HeuristicLab.Encodings.PermutationEncoding; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Fossil; 26 26 27 27 namespace HeuristicLab.Problems.BinPacking2D { 28 28 [Item("TranslocationMoveEvaluator", "Move evaluator for insertion or translocation moves.")] 29 [Storable Class]29 [StorableType("9198644C-27DA-408B-810E-7686F0539802")] 30 30 public sealed class TranslocationMoveEvaluator : MoveEvaluatorBase<Permutation, TranslocationMove>, IPermutationTranslocationMoveOperator { 31 31 public ILookupParameter<TranslocationMove> TranslocationMoveParameter { … … 36 36 } 37 37 [StorableConstructor] 38 private TranslocationMoveEvaluator( bool deserializing) : base(deserializing) { }38 private TranslocationMoveEvaluator(StorableConstructorFlag _) : base(_) { } 39 39 private TranslocationMoveEvaluator(TranslocationMoveEvaluator original, Cloner cloner) : base(original, cloner) { } 40 40 public TranslocationMoveEvaluator() -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.BinPacking/3.3/2D/ProblemBase.cs
r16453 r16462 28 28 using HeuristicLab.Optimization; 29 29 using HeuristicLab.Parameters; 30 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;30 using HEAL.Fossil; 31 31 using HeuristicLab.Problems.Instances; 32 32 33 33 namespace HeuristicLab.Problems.BinPacking2D { 34 [Storable Class]34 [StorableType("215B7963-4B3D-4197-B18F-16CC13EC5D68")] 35 35 public abstract class ProblemBase<TEnc, TSol> : 36 36 SingleObjectiveBasicProblem<TEnc>, IProblemInstanceConsumer<BPPData>, IProblemInstanceExporter<BPPData> … … 138 138 // persistence 139 139 [StorableConstructor] 140 protected ProblemBase( bool deserializing) : base(deserializing) { }140 protected ProblemBase(StorableConstructorFlag _) : base(_) { } 141 141 142 142 // cloning -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.BinPacking/3.3/2D/Solution.cs
r15583 r16462 22 22 using HeuristicLab.Common; 23 23 using HeuristicLab.Core; 24 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Fossil; 25 25 using HeuristicLab.Problems.BinPacking; 26 26 27 27 namespace HeuristicLab.Problems.BinPacking2D { 28 28 [Item("Bin Packing Solution (2d)", "Represents a solution for a 2D bin packing problem.")] 29 [Storable Class]29 [StorableType("9C014DEE-B1B3-447F-885E-5887E29DADF1")] 30 30 public class Solution : PackingPlan<PackingPosition, PackingShape, PackingItem> { 31 31 public Solution(PackingShape binShape) : this(binShape, false, false) { } 32 32 public Solution(PackingShape binShape, bool useExtremePoints, bool stackingConstraints) : base(binShape, useExtremePoints, stackingConstraints) { } 33 33 [StorableConstructor] 34 protected Solution( bool deserializing) : base(deserializing) { }34 protected Solution(StorableConstructorFlag _) : base(_) { } 35 35 protected Solution(Solution original, Cloner cloner) 36 36 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.BinPacking/3.3/3D/BinPacking3D.cs
r15583 r16462 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Fossil; 26 26 using HeuristicLab.Core; 27 27 using HeuristicLab.Common; … … 30 30 namespace HeuristicLab.Problems.BinPacking3D { 31 31 [Item("BinPacking3D", "Represents a single-bin packing for a 3D bin-packing problem.")] 32 [Storable Class]32 [StorableType("34D86A6D-F75F-4F62-9FB6-D7FEA738CECD")] 33 33 public class BinPacking3D : BinPacking<PackingPosition, PackingShape, PackingItem> { 34 34 … … 43 43 } 44 44 [StorableConstructor] 45 protected BinPacking3D( bool deserializing) : base(deserializing) { }45 protected BinPacking3D(StorableConstructorFlag _) : base(_) { } 46 46 protected BinPacking3D(BinPacking3D original, Cloner cloner) 47 47 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.BinPacking/3.3/3D/Evaluators/BinUtilizationEvaluator.cs
r15583 r16462 20 20 #endregion 21 21 22 using System;23 22 using System.Linq; 24 23 using HeuristicLab.Core; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Fossil; 26 25 using HeuristicLab.Common; 27 26 … … 29 28 // NOTE: same implementation as for 2d problem 30 29 [Item("Bin-Utilization Evaluator (3d)", "Calculates the overall utilization of bin space.")] 31 [Storable Class]30 [StorableType("D6743552-FF6F-4D9B-AFC2-38FF3D25DEB9")] 32 31 public class BinUtilizationEvaluator : Item, IEvaluator { 33 32 34 33 [StorableConstructor] 35 protected BinUtilizationEvaluator( bool deserializing) : base(deserializing) { }34 protected BinUtilizationEvaluator(StorableConstructorFlag _) : base(_) { } 36 35 protected BinUtilizationEvaluator(BinUtilizationEvaluator original, Cloner cloner) 37 36 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.BinPacking/3.3/3D/Evaluators/PackingRatioEvaluator.cs
r15583 r16462 23 23 using System.Linq; 24 24 using HeuristicLab.Core; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Fossil; 26 26 using HeuristicLab.Common; 27 27 … … 29 29 // NOTE: same implementation as for 2d problem 30 30 [Item("Packing-Ratio Evaluator (3d)", "Calculates the ratio between packed and unpacked space.")] 31 [Storable Class]31 [StorableType("1CD9C03B-3C29-4D3D-B3FA-A3C5234907CD")] 32 32 public class PackingRatioEvaluator : Item, IEvaluator { 33 33 34 34 [StorableConstructor] 35 protected PackingRatioEvaluator( bool deserializing) : base(deserializing) { }35 protected PackingRatioEvaluator(StorableConstructorFlag _) : base(_) { } 36 36 protected PackingRatioEvaluator(PackingRatioEvaluator original, Cloner cloner) 37 37 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.BinPacking/3.3/3D/IntegerVectorEncoding/BottomLeftIntegerVectorDecoder.cs
r15583 r16462 21 21 22 22 using System; 23 using System.Linq;24 23 using HeuristicLab.Core; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Fossil; 26 25 using HeuristicLab.Common; 27 26 using System.Collections.Generic; … … 30 29 namespace HeuristicLab.Problems.BinPacking3D { 31 30 [Item("Bottom-left IntegerVector Decoder (3d)", "Decodes the integer vector and creates a packing solution candidate")] 32 [Storable Class]31 [StorableType("3216A482-05F0-4E4C-B74E-E5C81A24DFC2")] 33 32 public class BottomLeftIntegerVectorDecoder : IntegerVectorDecoderBase { 34 33 35 34 [StorableConstructor] 36 protected BottomLeftIntegerVectorDecoder( bool deserializing) : base(deserializing) { }35 protected BottomLeftIntegerVectorDecoder(StorableConstructorFlag _) : base(_) { } 37 36 protected BottomLeftIntegerVectorDecoder(BottomLeftIntegerVectorDecoder original, Cloner cloner) 38 37 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.BinPacking/3.3/3D/IntegerVectorEncoding/ExtremePointIntegerVectorDecoder.cs
r15583 r16462 21 21 22 22 using HeuristicLab.Core; 23 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;23 using HEAL.Fossil; 24 24 using HeuristicLab.Common; 25 25 using System.Collections.Generic; 26 using System.Linq;27 using HeuristicLab.Encodings.IntegerVectorEncoding;28 26 29 27 namespace HeuristicLab.Problems.BinPacking3D { 30 28 [Item("Extreme-point IntegerVector Decoder (3d)", "Decodes the integer vector and creates a packing solution candidate")] 31 [Storable Class]29 [StorableType("F5A3F964-93C0-4B94-82ED-F241ADE409E8")] 32 30 public class ExtremePointIntegerVectorDecoder : IntegerVectorDecoderBase { 33 31 34 32 [StorableConstructor] 35 protected ExtremePointIntegerVectorDecoder( bool deserializing) : base(deserializing) { }33 protected ExtremePointIntegerVectorDecoder(StorableConstructorFlag _) : base(_) { } 36 34 protected ExtremePointIntegerVectorDecoder(ExtremePointIntegerVectorDecoder original, Cloner cloner) 37 35 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.BinPacking/3.3/3D/IntegerVectorEncoding/IntegerVectorDecoderBase.cs
r15583 r16462 21 21 22 22 using HeuristicLab.Core; 23 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;23 using HEAL.Fossil; 24 24 using HeuristicLab.Common; 25 25 using System.Collections.Generic; … … 28 28 29 29 namespace HeuristicLab.Problems.BinPacking3D { 30 [Storable Class]30 [StorableType("19C0AA6B-8FC5-4EA9-A441-5C4F5AD4C38E")] 31 31 public abstract class IntegerVectorDecoderBase : Item, IDecoder<IntegerVector> { 32 32 33 33 [StorableConstructor] 34 protected IntegerVectorDecoderBase( bool deserializing) : base(deserializing) { }34 protected IntegerVectorDecoderBase(StorableConstructorFlag _) : base(_) { } 35 35 protected IntegerVectorDecoderBase(IntegerVectorDecoderBase original, Cloner cloner) 36 36 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.BinPacking/3.3/3D/IntegerVectorEncoding/IntegerVectorProblem.cs
r16453 r16462 30 30 using HeuristicLab.Optimization; 31 31 using HeuristicLab.Optimization.Operators; 32 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;32 using HEAL.Fossil; 33 33 34 34 namespace HeuristicLab.Problems.BinPacking3D { 35 35 [Item("Bin Packing Problem (3D, integer vector encoding) (BPP)", "Represents a two-dimensional bin-packing problem using only bins with identical measures and bins/items with rectangular shapes.")] 36 [Storable Class]36 [StorableType("B5101A23-114F-4052-A06D-FFAF2B95A5E6")] 37 37 [Creatable(Category = CreatableAttribute.Categories.CombinatorialProblems, Priority = 330)] 38 38 public sealed class IntegerVectorProblem : ProblemBase<IntegerVectorEncoding, IntegerVector> { 39 39 [StorableConstructor] 40 private IntegerVectorProblem( bool deserializing) : base(deserializing) { }40 private IntegerVectorProblem(StorableConstructorFlag _) : base(_) { } 41 41 42 42 // cloning -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.BinPacking/3.3/3D/MoveEvaluatorBase.cs
r15583 r16462 26 26 using HeuristicLab.Optimization; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Fossil; 29 29 30 30 namespace HeuristicLab.Problems.BinPacking3D { 31 [Storable Class]31 [StorableType("13F03B86-9790-4F75-9155-B3AEE3F9B541")] 32 32 public abstract class MoveEvaluatorBase<TSol, TMove> : SingleSuccessorOperator, 33 33 ISingleObjectiveMoveEvaluator, ISingleObjectiveMoveOperator, IOperator<TSol> … … 64 64 65 65 [StorableConstructor] 66 protected MoveEvaluatorBase( bool deserializing) : base(deserializing) { }66 protected MoveEvaluatorBase(StorableConstructorFlag _) : base(_) { } 67 67 protected MoveEvaluatorBase(MoveEvaluatorBase<TSol, TMove> original, Cloner cloner) : base(original, cloner) { } 68 68 protected MoveEvaluatorBase() -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.BinPacking/3.3/3D/PackingItem.cs
r15583 r16462 21 21 22 22 using HeuristicLab.Core; 23 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;23 using HEAL.Fossil; 24 24 using HeuristicLab.Common; 25 25 using HeuristicLab.Data; … … 29 29 namespace HeuristicLab.Problems.BinPacking3D { 30 30 [Item("PackingItem (3d)", "Represents a cuboidic packing-item for bin-packing problems.")] 31 [Storable Class]31 [StorableType("413E8254-9600-42F9-B057-E57B502881FD")] 32 32 public class PackingItem : PackingShape, IPackingItem { 33 33 public IValueParameter<PackingShape> TargetBinParameter { … … 61 61 62 62 [StorableConstructor] 63 protected PackingItem( bool deserializing) : base(deserializing) { }63 protected PackingItem(StorableConstructorFlag _) : base(_) { } 64 64 protected PackingItem(PackingItem original, Cloner cloner) 65 65 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.BinPacking/3.3/3D/PackingPosition.cs
r15583 r16462 21 21 22 22 using System; 23 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;23 using HEAL.Fossil; 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Common; … … 27 27 namespace HeuristicLab.Problems.BinPacking3D { 28 28 [Item("Packing Position (3d)", "Represents a packing-position associated with a three dimensional packing-problem.")] 29 [Storable Class]29 [StorableType("68408986-2325-43D3-A53B-DC2F31FB690C")] 30 30 // PackingPosition is immutable (and handled as value type concerning Equals and GetHashCode) 31 31 public class PackingPosition : BinPacking.PackingPosition, IComparable<PackingPosition> { … … 42 42 43 43 [StorableConstructor] 44 protected PackingPosition( bool deserializing) : base(deserializing) { }44 protected PackingPosition(StorableConstructorFlag _) : base(_) { } 45 45 protected PackingPosition(PackingPosition original, Cloner cloner) 46 46 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.BinPacking/3.3/3D/PackingShape.cs
r15583 r16462 22 22 using System; 23 23 using HeuristicLab.Core; 24 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Fossil; 25 25 using HeuristicLab.Common; 26 26 using HeuristicLab.Data; … … 30 30 namespace HeuristicLab.Problems.BinPacking3D { 31 31 [Item("PackingShape (3d)", "Represents the cuboid measures (width, height, depth) of a three-dimensional cuboidic bin-packing object.")] 32 [Storable Class]32 [StorableType("87C5DC4E-A7E3-4853-B6C7-690B3F47DB57")] 33 33 public class PackingShape : PackingShape<PackingPosition>, IComparable<PackingShape> { 34 34 public IFixedValueParameter<IntValue> HeightParameter { … … 58 58 59 59 [StorableConstructor] 60 protected PackingShape( bool deserializing) : base(deserializing) { }60 protected PackingShape(StorableConstructorFlag _) : base(_) { } 61 61 protected PackingShape(PackingShape original, Cloner cloner) 62 62 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.BinPacking/3.3/3D/PermutationEncoding/BottomLeftPermutationDecoder.cs
r15583 r16462 21 21 22 22 using HeuristicLab.Core; 23 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;23 using HEAL.Fossil; 24 24 using HeuristicLab.Common; 25 25 using System.Collections.Generic; … … 28 28 namespace HeuristicLab.Problems.BinPacking3D { 29 29 [Item("Bottom-left Permutation Decoder (3d)", "Decodes the permutation and creates a packing solution candidate")] 30 [Storable Class]30 [StorableType("120B6DE4-B1C2-4FCD-AE1F-051863DBE698")] 31 31 public class BottomLeftPermutationDecoder : Item, IDecoder<Permutation> { 32 32 33 33 [StorableConstructor] 34 protected BottomLeftPermutationDecoder( bool deserializing) : base(deserializing) { }34 protected BottomLeftPermutationDecoder(StorableConstructorFlag _) : base(_) { } 35 35 protected BottomLeftPermutationDecoder(BottomLeftPermutationDecoder original, Cloner cloner) 36 36 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.BinPacking/3.3/3D/PermutationEncoding/ExtremePointPermutationDecoder.cs
r15583 r16462 20 20 #endregion 21 21 22 using System;23 22 using HeuristicLab.Core; 24 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;23 using HEAL.Fossil; 25 24 using HeuristicLab.Common; 26 25 using System.Collections.Generic; 27 26 using HeuristicLab.Encodings.PermutationEncoding; 28 using System.Linq;29 27 30 28 31 29 namespace HeuristicLab.Problems.BinPacking3D { 32 30 [Item("Extreme-point Permutation Decoder (3d)", "Decodes the permutation and creates a packing solution candidate")] 33 [Storable Class]31 [StorableType("1232374B-6C9C-46A2-B7C2-97F484597D44")] 34 32 public class ExtremePointPermutationDecoder : ExtremePointPermutationDecoderBase { 35 33 36 34 [StorableConstructor] 37 protected ExtremePointPermutationDecoder( bool deserializing) : base(deserializing) { }35 protected ExtremePointPermutationDecoder(StorableConstructorFlag _) : base(_) { } 38 36 protected ExtremePointPermutationDecoder(ExtremePointPermutationDecoder original, Cloner cloner) 39 37 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.BinPacking/3.3/3D/PermutationEncoding/ExtremePointPermutationDecoderBase.cs
r16453 r16462 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Encodings.PermutationEncoding; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 27 27 28 28 namespace HeuristicLab.Problems.BinPacking3D { 29 29 [Item("Extreme-point Permutation Decoder (3d) Base", "Base class for decoders")] 30 [Storable Class]30 [StorableType("CF1A3362-B650-419D-A5C0-ADB9AFFCCC56")] 31 31 public abstract class ExtremePointPermutationDecoderBase : Item, IDecoder<Permutation> { 32 32 33 33 [StorableConstructor] 34 protected ExtremePointPermutationDecoderBase( bool deserializing) : base(deserializing) { }34 protected ExtremePointPermutationDecoderBase(StorableConstructorFlag _) : base(_) { } 35 35 protected ExtremePointPermutationDecoderBase(ExtremePointPermutationDecoderBase original, Cloner cloner) 36 36 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.BinPacking/3.3/3D/PermutationEncoding/FreeVolumeBestFitExtremePointPermutationDecoder.cs
r16453 r16462 26 26 using HeuristicLab.Core; 27 27 using HeuristicLab.Encodings.PermutationEncoding; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Fossil; 29 29 30 30 namespace HeuristicLab.Problems.BinPacking3D { 31 31 [Item("Free Volume Best Fit Extreme-point Permutation Decoder (3d)", "Decodes the permutation and creates a packing solution candidate")] 32 [Storable Class]32 [StorableType("3CF690C8-EB29-40DC-ADE3-9B9A83928772")] 33 33 public class FreeVolumeBestFitExtremePointPermutationDecoder : ExtremePointPermutationDecoderBase { 34 34 35 35 [StorableConstructor] 36 protected FreeVolumeBestFitExtremePointPermutationDecoder( bool deserializing) : base(deserializing) { }36 protected FreeVolumeBestFitExtremePointPermutationDecoder(StorableConstructorFlag _) : base(_) { } 37 37 protected FreeVolumeBestFitExtremePointPermutationDecoder(FreeVolumeBestFitExtremePointPermutationDecoder original, Cloner cloner) 38 38 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.BinPacking/3.3/3D/PermutationEncoding/PermutationProblem.cs
r16453 r16462 29 29 using HeuristicLab.Optimization; 30 30 using HeuristicLab.Optimization.Operators; 31 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;31 using HEAL.Fossil; 32 32 33 33 namespace HeuristicLab.Problems.BinPacking3D { 34 34 [Item("Bin Packing Problem (3D, permutation encoding) (BPP)", "Represents a three-dimensional bin-packing problem using only bins with identical measures and bins/items with rectangular shapes.")] 35 [Storable Class]35 [StorableType("84B8B871-C360-43BD-BFC3-F6F16B379439")] 36 36 [Creatable(Category = CreatableAttribute.Categories.CombinatorialProblems, Priority = 320)] 37 37 public sealed class PermutationProblem : ProblemBase<PermutationEncoding, Permutation> { 38 38 [StorableConstructor] 39 private PermutationProblem( bool deserializing) : base(deserializing) { }39 private PermutationProblem(StorableConstructorFlag _) : base(_) { } 40 40 41 41 // cloning -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.BinPacking/3.3/3D/PermutationEncoding/ResidualSpaceBestFitExtremePointPermutationDecoder.cs
r16453 r16462 26 26 using HeuristicLab.Core; 27 27 using HeuristicLab.Encodings.PermutationEncoding; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Fossil; 29 29 30 30 namespace HeuristicLab.Problems.BinPacking3D { 31 31 [Item("Residual Space Best Fit Extreme-point Permutation Decoder (3d)", "Decodes the permutation and creates a packing solution candidate")] 32 [Storable Class]32 [StorableType("FD6679E5-CB7C-4DDA-B45F-DA6137CFA00E")] 33 33 public class ResidualSpaceBestFitExtremePointPermutationDecoder : ExtremePointPermutationDecoderBase { 34 34 35 35 [StorableConstructor] 36 protected ResidualSpaceBestFitExtremePointPermutationDecoder( bool deserializing) : base(deserializing) { }36 protected ResidualSpaceBestFitExtremePointPermutationDecoder(StorableConstructorFlag _) : base(_) { } 37 37 protected ResidualSpaceBestFitExtremePointPermutationDecoder(ResidualSpaceBestFitExtremePointPermutationDecoder original, Cloner cloner) 38 38 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.BinPacking/3.3/3D/PermutationEncoding/Swap2MoveEvaluator.cs
r15583 r16462 23 23 using HeuristicLab.Core; 24 24 using HeuristicLab.Encodings.PermutationEncoding; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Fossil; 26 26 27 27 namespace HeuristicLab.Problems.BinPacking3D { 28 28 [Item("Swap2MoveEvaluator", "Move evaluator for 2-opt moves.")] 29 [Storable Class]29 [StorableType("CF5E678F-E420-4825-A3FE-AE48D9B9B7C0")] 30 30 public sealed class Swap2MoveEvaluator : MoveEvaluatorBase<Permutation, Swap2Move>, IPermutationSwap2MoveOperator { 31 31 public ILookupParameter<Swap2Move> Swap2MoveParameter { … … 37 37 38 38 [StorableConstructor] 39 private Swap2MoveEvaluator( bool deserializing) : base(deserializing) { }39 private Swap2MoveEvaluator(StorableConstructorFlag _) : base(_) { } 40 40 private Swap2MoveEvaluator(Swap2MoveEvaluator original, Cloner cloner) : base(original, cloner) { } 41 41 public Swap2MoveEvaluator() -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.BinPacking/3.3/3D/PermutationEncoding/TranslocationMoveEvaluator.cs
r15583 r16462 23 23 using HeuristicLab.Core; 24 24 using HeuristicLab.Encodings.PermutationEncoding; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Fossil; 26 26 27 27 namespace HeuristicLab.Problems.BinPacking3D { 28 28 [Item("TranslocationMoveEvaluator", "Move evaluator for insertion or translocation moves.")] 29 [Storable Class]29 [StorableType("76E856C1-3DB9-44EC-A995-2CD667B69753")] 30 30 public sealed class TranslocationMoveEvaluator : MoveEvaluatorBase<Permutation, TranslocationMove>, IPermutationTranslocationMoveOperator { 31 31 public ILookupParameter<TranslocationMove> TranslocationMoveParameter { … … 36 36 } 37 37 [StorableConstructor] 38 private TranslocationMoveEvaluator( bool deserializing) : base(deserializing) { }38 private TranslocationMoveEvaluator(StorableConstructorFlag _) : base(_) { } 39 39 private TranslocationMoveEvaluator(TranslocationMoveEvaluator original, Cloner cloner) : base(original, cloner) { } 40 40 public TranslocationMoveEvaluator() -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.BinPacking/3.3/3D/ProblemBase.cs
r16453 r16462 28 28 using HeuristicLab.Optimization; 29 29 using HeuristicLab.Parameters; 30 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;30 using HEAL.Fossil; 31 31 using HeuristicLab.Problems.Instances; 32 32 33 33 namespace HeuristicLab.Problems.BinPacking3D { 34 34 // in comparison to the 2d problem the 3d problem implementation also supports checking stacking constraints 35 [Storable Class]35 [StorableType("11F0A7B9-EF53-435E-AE3B-200A269DE308")] 36 36 public abstract class ProblemBase<TEnc, TSol> : 37 37 SingleObjectiveBasicProblem<TEnc>, IProblemInstanceConsumer<BPPData>, IProblemInstanceExporter<BPPData> … … 152 152 // persistence 153 153 [StorableConstructor] 154 protected ProblemBase( bool deserializing) : base(deserializing) { }154 protected ProblemBase(StorableConstructorFlag _) : base(_) { } 155 155 156 156 // cloning -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.BinPacking/3.3/3D/Solution.cs
r14167 r16462 1 1 using HeuristicLab.Common; 2 2 using HeuristicLab.Core; 3 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;3 using HEAL.Fossil; 4 4 using HeuristicLab.Problems.BinPacking; 5 5 6 6 namespace HeuristicLab.Problems.BinPacking3D { 7 7 [Item("Bin Packing Solution (3d)", "Represents a solution for a 3D bin packing problem.")] 8 [Storable Class]8 [StorableType("C0620C6F-3882-45CD-976F-4840ABD08BCD")] 9 9 public class Solution : PackingPlan<PackingPosition, PackingShape, PackingItem> { 10 10 public Solution(PackingShape binShape) : this(binShape, false, false) { } 11 11 public Solution(PackingShape binShape, bool useExtremePoints, bool stackingConstraints) : base(binShape, useExtremePoints, stackingConstraints) { } 12 12 [StorableConstructor] 13 protected Solution( bool deserializing) : base(deserializing) { }13 protected Solution(StorableConstructorFlag _) : base(_) { } 14 14 protected Solution(Solution original, Cloner cloner) 15 15 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.BinPacking/3.3/Algorithms/3D/ExtremePointAlgorithm.cs
r15583 r16462 31 31 using HeuristicLab.Optimization; 32 32 using HeuristicLab.Parameters; 33 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;33 using HEAL.Fossil; 34 34 35 35 namespace HeuristicLab.Problems.BinPacking3D { … … 39 39 40 40 [Item("Extreme-point-based Bin Packing (3d)", "An implementation of the extreme-point based packing described in Crainic, T. G., Perboli, G., & Tadei, R. (2008). Extreme point-based heuristics for three-dimensional bin packing. Informs Journal on computing, 20(3), 368-384.")] 41 [Storable Class]41 [StorableType("33F16B60-E562-4609-A6BE-A21B83BDA575")] 42 42 [Creatable(CreatableAttribute.Categories.SingleSolutionAlgorithms, Priority = 180)] 43 43 public sealed class ExtremePointAlgorithm : BasicAlgorithm { … … 75 75 76 76 [StorableConstructor] 77 private ExtremePointAlgorithm( bool deserializing) : base(deserializing) { }77 private ExtremePointAlgorithm(StorableConstructorFlag _) : base(_) { } 78 78 private ExtremePointAlgorithm(ExtremePointAlgorithm original, Cloner cloner) 79 79 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.BinPacking/3.3/BinPacking.cs
r15583 r16462 20 20 #endregion 21 21 22 using System;23 22 using System.Collections.Generic; 24 23 using System.Linq; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Fossil; 26 25 using HeuristicLab.Core; 27 26 using HeuristicLab.Common; … … 30 29 namespace HeuristicLab.Problems.BinPacking { 31 30 [Item("BinPacking", "Represents a single-bin packing for a bin-packing problem.")] 32 [Storable Class]31 [StorableType("7B0C7B64-CB50-405F-9F73-15B7C86F9B86")] 33 32 public abstract class BinPacking<TPos, TBin, TItem> : Item 34 33 where TPos : class, IPackingPosition … … 67 66 68 67 [StorableConstructor] 69 protected BinPacking( bool deserializing) : base(deserializing) { }68 protected BinPacking(StorableConstructorFlag _) : base(_) { } 70 69 protected BinPacking(BinPacking<TPos, TBin, TItem> original, Cloner cloner) 71 70 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.BinPacking/3.3/HeuristicLab.Problems.BinPacking-3.3.csproj
r16454 r16462 75 75 <HintPath>..\..\packages\Google.Protobuf.3.6.1\lib\net45\Google.Protobuf.dll</HintPath> 76 76 </Reference> 77 <Reference Include="HEAL.Fossil, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">77 <Reference Include="HEAL.Fossil, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 78 78 <HintPath>..\..\packages\HEAL.Fossil.1.0.0\lib\netstandard2.0\HEAL.Fossil.dll</HintPath> 79 79 </Reference> -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.BinPacking/3.3/PackingPlan.cs
r15583 r16462 22 22 using System; 23 23 using System.Linq; 24 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Fossil; 25 25 using HeuristicLab.Core; 26 26 using HeuristicLab.Common; … … 29 29 30 30 namespace HeuristicLab.Problems.BinPacking { 31 [Storable Class]31 [StorableType("2E5A4B2A-EB2B-49F8-9BE8-45DA1A421F3E")] 32 32 public abstract class PackingPlan<D, B, I> : Item 33 33 where D : class, IPackingPosition … … 78 78 79 79 [StorableConstructor] 80 protected PackingPlan( bool deserializing) : base(deserializing) { }80 protected PackingPlan(StorableConstructorFlag _) : base(_) { } 81 81 protected PackingPlan(PackingPlan<D, B, I> original, Cloner cloner) 82 82 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.BinPacking/3.3/PackingPosition.cs
r15583 r16462 20 20 #endregion 21 21 22 using System; 23 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 22 using HEAL.Fossil; 24 23 using HeuristicLab.Core; 25 24 using HeuristicLab.Common; 26 25 27 26 namespace HeuristicLab.Problems.BinPacking { 28 [Storable Class]27 [StorableType("8ED65A4B-6F85-47EA-90C6-A4B47533E429")] 29 28 // PackingPosition is immutable (and handled as value types concerning Equals and GetHashCode) 30 29 public abstract class PackingPosition : Item, IPackingPosition { … … 48 47 49 48 [StorableConstructor] 50 protected PackingPosition( bool deserializing) : base(deserializing) { }49 protected PackingPosition(StorableConstructorFlag _) : base(_) { } 51 50 protected PackingPosition(PackingPosition original, Cloner cloner) 52 51 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.BinPacking/3.3/PackingShape.cs
r15583 r16462 25 25 using System.Linq; 26 26 using HeuristicLab.Core; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 28 28 using HeuristicLab.Common; 29 29 30 30 namespace HeuristicLab.Problems.BinPacking { 31 [Storable Class]31 [StorableType("FA24378B-4353-4CC9-AEFD-4B002EF5B139")] 32 32 public abstract class PackingShape<T> : Item, IPackingShape, IParameterizedItem 33 33 where T : class, IPackingPosition { … … 48 48 49 49 [StorableConstructor] 50 protected PackingShape( bool deserializing) { }50 protected PackingShape(StorableConstructorFlag _) : base(_) { } 51 51 protected PackingShape(PackingShape<T> original, Cloner cloner) { 52 52 this.Parameters = new ParameterCollection(original.Parameters.Select(p => cloner.Clone(p)));
Note: See TracChangeset
for help on using the changeset viewer.