Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/28/18 16:10:48 (6 years ago)
Author:
jkarder
Message:

#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
Location:
branches/2520_PersistenceReintegration/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/General
Files:
22 edited

Legend:

Unmodified
Added
Removed
  • branches/2520_PersistenceReintegration/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/General/Creators/MultiVRPSolutionCreator.cs

    r16453 r16462  
    2929using HeuristicLab.Optimization;
    3030using HeuristicLab.Parameters;
    31 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     31using HEAL.Fossil;
    3232using HeuristicLab.Problems.VehicleRouting.Interfaces;
    3333using HeuristicLab.Problems.VehicleRouting.Variants;
     
    3535namespace HeuristicLab.Problems.VehicleRouting.Encodings.General {
    3636  [Item("MultiVRPSolutionCreator", "Randomly selects and applies one of its creator every time it is called.")]
    37   [StorableClass]
     37  [StorableType("D462B6FB-7AAF-46D9-B3A8-2AC6806C1005")]
    3838  public class MultiVRPSolutionCreator : StochasticMultiBranch<IVRPCreator>, IVRPCreator, IGeneralVRPOperator, IMultiVRPOperator, IStochasticOperator {
    3939    public override bool CanChangeName {
     
    5353
    5454    [StorableConstructor]
    55     protected MultiVRPSolutionCreator(bool deserializing) : base(deserializing) { }
     55    protected MultiVRPSolutionCreator(StorableConstructorFlag _) : base(_) { }
    5656    public MultiVRPSolutionCreator()
    5757      : base() {
  • branches/2520_PersistenceReintegration/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/General/Creators/VRPCreator.cs

    r16453 r16462  
    2323using HeuristicLab.Core;
    2424using HeuristicLab.Parameters;
    25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     25using HEAL.Fossil;
    2626using HeuristicLab.Problems.VehicleRouting.Interfaces;
    2727
    2828namespace HeuristicLab.Problems.VehicleRouting.Encodings.General {
    2929  [Item("VRPCreator", "Creates a VRP solution.")]
    30   [StorableClass]
     30  [StorableType("E37923DB-8BA5-4FE3-956D-3D65AA18037C")]
    3131  public abstract class VRPCreator : VRPOperator, IVRPCreator {
    3232    public ILookupParameter<IVRPEncoding> VRPToursParameter {
     
    3535
    3636    [StorableConstructor]
    37     protected VRPCreator(bool deserializing) : base(deserializing) { }
     37    protected VRPCreator(StorableConstructorFlag _) : base(_) { }
    3838
    3939    public VRPCreator()
  • branches/2520_PersistenceReintegration/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/General/Crossovers/BiasedMultiVRPSolutionCrossover.cs

    r16453 r16462  
    2929using HeuristicLab.Optimization;
    3030using HeuristicLab.Parameters;
    31 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     31using HEAL.Fossil;
    3232using HeuristicLab.Random;
    3333
    3434namespace HeuristicLab.Problems.VehicleRouting.Encodings.General {
    3535  [Item("BiasedMultiVRPSolutionCrossover", "Randomly selects and applies one of its crossovers every time it is called based on the success progress.")]
    36   [StorableClass]
     36  [StorableType("9F319402-CF27-4355-9764-B7DDECBA2A15")]
    3737  public class BiasedMultiVRPSolutionCrossover : MultiVRPSolutionCrossover {
    3838    public ValueLookupParameter<DoubleArray> ActualProbabilitiesParameter {
     
    5757
    5858    [StorableConstructor]
    59     protected BiasedMultiVRPSolutionCrossover(bool deserializing) : base(deserializing) { }
     59    protected BiasedMultiVRPSolutionCrossover(StorableConstructorFlag _) : base(_) { }
    6060    protected BiasedMultiVRPSolutionCrossover(BiasedMultiVRPSolutionCrossover original, Cloner cloner) : base(original, cloner) { }
    6161    public BiasedMultiVRPSolutionCrossover()
  • branches/2520_PersistenceReintegration/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/General/Crossovers/MultiVRPSolutionCrossover.cs

    r16453 r16462  
    2929using HeuristicLab.Optimization;
    3030using HeuristicLab.Parameters;
    31 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     31using HEAL.Fossil;
    3232using HeuristicLab.Problems.VehicleRouting.Interfaces;
    3333using HeuristicLab.Problems.VehicleRouting.Variants;
     
    3535namespace HeuristicLab.Problems.VehicleRouting.Encodings.General {
    3636  [Item("MultiVRPSolutionCrossover", "Randomly selects and applies one of its crossovers every time it is called.")]
    37   [StorableClass]
     37  [StorableType("68B26F83-1FF1-42B9-BDB8-606EC8C462C7")]
    3838  public class MultiVRPSolutionCrossover : StochasticMultiBranch<IVRPCrossover>, IVRPCrossover, IGeneralVRPOperator, IMultiVRPOperator, IStochasticOperator {
    3939    public override bool CanChangeName {
     
    5858
    5959    [StorableConstructor]
    60     protected MultiVRPSolutionCrossover(bool deserializing) : base(deserializing) { }
     60    protected MultiVRPSolutionCrossover(StorableConstructorFlag _) : base(_) { }
    6161    public MultiVRPSolutionCrossover()
    6262      : base() {
  • branches/2520_PersistenceReintegration/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/General/Crossovers/RandomParentCloneCrossover.cs

    r16453 r16462  
    2424using HeuristicLab.Optimization;
    2525using HeuristicLab.Parameters;
    26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     26using HEAL.Fossil;
    2727using HeuristicLab.Problems.VehicleRouting.Interfaces;
    2828using HeuristicLab.Problems.VehicleRouting.Variants;
     
    3030namespace HeuristicLab.Problems.VehicleRouting.Encodings.General.Crossovers {
    3131  [Item("RandomParentCloneCrossover", "An operator which randomly chooses one parent and returns a clone.")]
    32   [StorableClass]
     32  [StorableType("418EA2DE-C098-4A88-82B9-CB68732DB2AC")]
    3333  public sealed class RandomParentCloneCrossover : VRPOperator, IStochasticOperator, IGeneralVRPOperator, IVRPCrossover {
    3434    public ILookupParameter<IRandom> RandomParameter {
     
    4545
    4646    [StorableConstructor]
    47     private RandomParentCloneCrossover(bool deserializing) : base(deserializing) { }
     47    private RandomParentCloneCrossover(StorableConstructorFlag _) : base(_) { }
    4848
    4949    public RandomParentCloneCrossover()
  • branches/2520_PersistenceReintegration/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/General/Crossovers/VRPCrossover.cs

    r16453 r16462  
    2323using HeuristicLab.Core;
    2424using HeuristicLab.Parameters;
    25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     25using HEAL.Fossil;
    2626using HeuristicLab.Problems.VehicleRouting.Interfaces;
    2727
    2828namespace HeuristicLab.Problems.VehicleRouting.Encodings.General {
    2929  [Item("VRPCrossover", "Crosses VRP solutions.")]
    30   [StorableClass]
     30  [StorableType("E26BAD0A-49E6-477C-AEA0-CB41552F0B2B")]
    3131  public abstract class VRPCrossover : VRPOperator, IVRPCrossover {
    3232    public ILookupParameter<ItemArray<IVRPEncoding>> ParentsParameter {
     
    3939
    4040    [StorableConstructor]
    41     protected VRPCrossover(bool deserializing) : base(deserializing) { }
     41    protected VRPCrossover(StorableConstructorFlag _) : base(_) { }
    4242
    4343    public VRPCrossover()
  • branches/2520_PersistenceReintegration/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/General/Manipulators/BiasedMultiVRPSolutionManipulator.cs

    r16453 r16462  
    2929using HeuristicLab.Optimization;
    3030using HeuristicLab.Parameters;
    31 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     31using HEAL.Fossil;
    3232using HeuristicLab.Random;
    3333
    3434namespace HeuristicLab.Problems.VehicleRouting.Encodings.General {
    3535  [Item("BiasedMultiVRPSolutionManipulator", "Randomly selects and applies one of its crossovers every time it is called based on the success progress.")]
    36   [StorableClass]
     36  [StorableType("213DD800-26CC-47FE-A151-CFB8742DB3C1")]
    3737  public class BiasedMultiVRPSolutionManipulator : MultiVRPSolutionManipulator {
    3838    public ValueLookupParameter<DoubleArray> ActualProbabilitiesParameter {
     
    5757
    5858    [StorableConstructor]
    59     protected BiasedMultiVRPSolutionManipulator(bool deserializing) : base(deserializing) { }
     59    protected BiasedMultiVRPSolutionManipulator(StorableConstructorFlag _) : base(_) { }
    6060    protected BiasedMultiVRPSolutionManipulator(BiasedMultiVRPSolutionManipulator original, Cloner cloner) : base(original, cloner) { }
    6161    public BiasedMultiVRPSolutionManipulator()
  • branches/2520_PersistenceReintegration/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/General/Manipulators/MultiVRPSolutionManipulator.cs

    r16453 r16462  
    2929using HeuristicLab.Optimization;
    3030using HeuristicLab.Parameters;
    31 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     31using HEAL.Fossil;
    3232using HeuristicLab.Problems.VehicleRouting.Interfaces;
    3333using HeuristicLab.Problems.VehicleRouting.Variants;
     
    3535namespace HeuristicLab.Problems.VehicleRouting.Encodings.General {
    3636  [Item("MultiVRPSolutionManipulator", "Randomly selects and applies one of its manipulators every time it is called.")]
    37   [StorableClass]
     37  [StorableType("9EE8B958-A511-40EC-A3DA-0F0CE0BF6524")]
    3838  public class MultiVRPSolutionManipulator : StochasticMultiBranch<IVRPManipulator>, IVRPManipulator, IGeneralVRPOperator, IMultiVRPOperator, IStochasticOperator {
    3939    public override bool CanChangeName {
     
    5454
    5555    [StorableConstructor]
    56     protected MultiVRPSolutionManipulator(bool deserializing) : base(deserializing) { }
     56    protected MultiVRPSolutionManipulator(StorableConstructorFlag _) : base(_) { }
    5757    public MultiVRPSolutionManipulator()
    5858      : base() {
  • branches/2520_PersistenceReintegration/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/General/Manipulators/VRPManipulator.cs

    r16453 r16462  
    2323using HeuristicLab.Core;
    2424using HeuristicLab.Parameters;
    25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     25using HEAL.Fossil;
    2626using HeuristicLab.Problems.VehicleRouting.Interfaces;
    2727
    2828namespace HeuristicLab.Problems.VehicleRouting.Encodings.General {
    2929  [Item("VRPManipulator", "Manipulates a VRP solution.")]
    30   [StorableClass]
     30  [StorableType("6A7616B7-0BA2-45DA-B89F-C4ECE93080BD")]
    3131  public abstract class VRPManipulator : VRPOperator, IVRPManipulator {
    3232    public ILookupParameter<IVRPEncoding> VRPToursParameter {
     
    3535
    3636    [StorableConstructor]
    37     protected VRPManipulator(bool deserializing) : base(deserializing) { }
     37    protected VRPManipulator(StorableConstructorFlag _) : base(_) { }
    3838
    3939    public VRPManipulator()
  • branches/2520_PersistenceReintegration/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/General/Moves/MultiVRPMoveOperator/MultiVRPMoveEvaluator.cs

    r16453 r16462  
    2323using HeuristicLab.Core;
    2424using HeuristicLab.Parameters;
    25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     25using HEAL.Fossil;
    2626using HeuristicLab.Problems.VehicleRouting.Encodings.General;
    2727using HeuristicLab.Problems.VehicleRouting.Variants;
     
    2929namespace HeuristicLab.Problems.VehicleRouting {
    3030  [Item("MultiVRPMoveEvaluator", "Evaluates a move for the VRP representation.")]
    31   [StorableClass]
     31  [StorableType("CF6F48D1-D488-4266-8F46-68EC1A0A7828")]
    3232  public sealed class MultiVRPMoveEvaluator : VRPMoveEvaluator, IMultiVRPMoveOperator, IGeneralVRPOperator {
    3333    public override ILookupParameter VRPMoveParameter {
     
    3636
    3737    [StorableConstructor]
    38     private MultiVRPMoveEvaluator(bool deserializing) : base(deserializing) { }
     38    private MultiVRPMoveEvaluator(StorableConstructorFlag _) : base(_) { }
    3939
    4040    public MultiVRPMoveEvaluator()
  • branches/2520_PersistenceReintegration/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/General/Moves/MultiVRPMoveOperator/MultiVRPMoveGenerator.cs

    r16453 r16462  
    3030using HeuristicLab.Optimization;
    3131using HeuristicLab.Parameters;
    32 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     32using HEAL.Fossil;
    3333using HeuristicLab.Problems.VehicleRouting.Encodings.Alba;
    3434using HeuristicLab.Problems.VehicleRouting.Encodings.Potvin;
     
    3838namespace HeuristicLab.Problems.VehicleRouting.Encodings.General {
    3939  [Item("MultiVRPMoveGenerator", "Randomly selects and applies its move generators.")]
    40   [StorableClass]
     40  [StorableType("2BB3FF78-447F-4FCD-B866-D28D295ABF0E")]
    4141  public class MultiVRPMoveGenerator : CheckedMultiOperator<IMultiVRPMoveGenerator>, IMultiVRPMoveOperator,
    4242    IStochasticOperator, IMoveGenerator, IGeneralVRPOperator, IMultiVRPOperator {
     
    7878
    7979    [StorableConstructor]
    80     protected MultiVRPMoveGenerator(bool deserializing) : base(deserializing) { }
     80    protected MultiVRPMoveGenerator(StorableConstructorFlag _) : base(_) { }
    8181    public MultiVRPMoveGenerator()
    8282      : base() {
  • branches/2520_PersistenceReintegration/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/General/Moves/MultiVRPMoveOperator/MultiVRPMoveMaker.cs

    r16453 r16462  
    2323using HeuristicLab.Core;
    2424using HeuristicLab.Parameters;
    25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     25using HEAL.Fossil;
    2626using HeuristicLab.Problems.VehicleRouting.Variants;
    2727
    2828namespace HeuristicLab.Problems.VehicleRouting.Encodings.General {
    2929  [Item("MultiVRPMoveMaker", "Peforms a lambda interchange moves on a given VRP encoding and updates the quality.")]
    30   [StorableClass]
     30  [StorableType("E0D91D91-A8CC-459D-9D65-180D507A75AD")]
    3131  public class MultiVRPMoveMaker : VRPMoveMaker, IMultiVRPMoveOperator, IGeneralVRPOperator {
    3232    public override ILookupParameter VRPMoveParameter {
     
    3535
    3636    [StorableConstructor]
    37     protected MultiVRPMoveMaker(bool deserializing) : base(deserializing) { }
     37    protected MultiVRPMoveMaker(StorableConstructorFlag _) : base(_) { }
    3838
    3939    public MultiVRPMoveMaker()
  • branches/2520_PersistenceReintegration/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/General/Moves/MultiVRPMoveOperator/MultiVRPMoveTabuChecker.cs

    r16453 r16462  
    2626using HeuristicLab.Optimization;
    2727using HeuristicLab.Parameters;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HEAL.Fossil;
    2929using HeuristicLab.Problems.VehicleRouting.Interfaces;
    3030using HeuristicLab.Problems.VehicleRouting.Variants;
     
    3232namespace HeuristicLab.Problems.VehicleRouting.Encodings.General {
    3333  [Item("MultiVRPMoveTabuChecker", "Checks if a VRP move is tabu.")]
    34   [StorableClass]
     34  [StorableType("5688A0E6-7EB0-43E2-9D9F-AB68D689148B")]
    3535  public class MultiVRPMoveTabuChecker : SingleSuccessorOperator, IMultiVRPMoveOperator, ITabuChecker, IGeneralVRPOperator {
    3636    public ILookupParameter VRPMoveParameter {
     
    6767
    6868    [StorableConstructor]
    69     protected MultiVRPMoveTabuChecker(bool deserializing) : base(deserializing) { }
     69    protected MultiVRPMoveTabuChecker(StorableConstructorFlag _) : base(_) { }
    7070
    7171    public MultiVRPMoveTabuChecker()
  • branches/2520_PersistenceReintegration/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/General/Moves/MultiVRPMoveOperator/MultiVRPMoveTabuMaker.cs

    r16453 r16462  
    2626using HeuristicLab.Optimization;
    2727using HeuristicLab.Parameters;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HEAL.Fossil;
    2929using HeuristicLab.Problems.VehicleRouting.Interfaces;
    3030using HeuristicLab.Problems.VehicleRouting.Variants;
     
    3232namespace HeuristicLab.Problems.VehicleRouting.Encodings.General {
    3333  [Item("MultiVRPMoveTabuMaker", "A multi VRP move tabu maker.")]
    34   [StorableClass]
     34  [StorableType("58E2C5A6-88CF-460B-8684-E38E2E64F648")]
    3535  public class MultiVRPMoveTabuMaker : SingleSuccessorOperator, IMultiVRPMoveOperator, ITabuMaker, IGeneralVRPOperator, ISingleObjectiveOperator {
    3636    public ILookupParameter VRPMoveParameter {
     
    6060
    6161    [StorableConstructor]
    62     protected MultiVRPMoveTabuMaker(bool deserializing) : base(deserializing) { }
     62    protected MultiVRPMoveTabuMaker(StorableConstructorFlag _) : base(_) { }
    6363
    6464    public MultiVRPMoveTabuMaker()
  • branches/2520_PersistenceReintegration/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/General/Moves/VRPMoveAttribute.cs

    r16453 r16462  
    2222using HeuristicLab.Common;
    2323using HeuristicLab.Core;
    24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     24using HEAL.Fossil;
    2525
    2626namespace HeuristicLab.Problems.VehicleRouting.Encodings.General {
    2727  [Item("VRPMoveAttribute", "Base class for specifying a move attribute")]
    28   [StorableClass]
     28  [StorableType("61460C9F-D313-47C1-9894-A6A5E4852DBB")]
    2929  public class VRPMoveAttribute : Item {
    3030    [Storable]
     
    3232
    3333    [StorableConstructor]
    34     protected VRPMoveAttribute(bool deserializing) : base(deserializing) { }
     34    protected VRPMoveAttribute(StorableConstructorFlag _) : base(_) { }
    3535    protected VRPMoveAttribute(VRPMoveAttribute original, Cloner cloner)
    3636      : base(original, cloner) {
  • branches/2520_PersistenceReintegration/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/General/Moves/VRPMoveEvaluator.cs

    r16453 r16462  
    2525using HeuristicLab.Optimization;
    2626using HeuristicLab.Parameters;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HEAL.Fossil;
    2828using HeuristicLab.Problems.VehicleRouting.Interfaces;
    2929
    3030namespace HeuristicLab.Problems.VehicleRouting.Encodings.General {
    3131  [Item("VRPMoveEvaluator", "Evaluates a VRP move.")]
    32   [StorableClass]
     32  [StorableType("2C1B7479-DCD7-41F7-BB65-D1D714313172")]
    3333  public abstract class VRPMoveEvaluator : VRPMoveOperator, ISingleObjectiveMoveEvaluator {
    3434    public const string MovePrefix = "Move";
     
    4545
    4646    [StorableConstructor]
    47     protected VRPMoveEvaluator(bool deserializing) : base(deserializing) { }
     47    protected VRPMoveEvaluator(StorableConstructorFlag _) : base(_) { }
    4848
    4949    public VRPMoveEvaluator()
  • branches/2520_PersistenceReintegration/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/General/Moves/VRPMoveGenerator.cs

    r16453 r16462  
    2323using HeuristicLab.Core;
    2424using HeuristicLab.Optimization;
    25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     25using HEAL.Fossil;
    2626
    2727namespace HeuristicLab.Problems.VehicleRouting.Encodings.General {
    2828  [Item("VRPMoveGenerator", "Generates moves for a VRP solution.")]
    29   [StorableClass]
     29  [StorableType("B76BD2D8-2D37-4006-86AF-64A1D28DC26D")]
    3030  public abstract class
    3131    VRPMoveGenerator : VRPMoveOperator, IMoveGenerator {
    3232    [StorableConstructor]
    33     protected VRPMoveGenerator(bool deserializing) : base(deserializing) { }
     33    protected VRPMoveGenerator(StorableConstructorFlag _) : base(_) { }
    3434
    3535    public VRPMoveGenerator()
  • branches/2520_PersistenceReintegration/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/General/Moves/VRPMoveMaker.cs

    r16453 r16462  
    2626using HeuristicLab.Optimization;
    2727using HeuristicLab.Parameters;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HEAL.Fossil;
    2929using HeuristicLab.Problems.VehicleRouting.Interfaces;
    3030
    3131namespace HeuristicLab.Problems.VehicleRouting.Encodings.General {
    3232  [Item("VRPMoveMaker", "Performs a VRP move.")]
    33   [StorableClass]
     33  [StorableType("00082602-A676-48A7-A2D7-66733B972685")]
    3434  public abstract class VRPMoveMaker : VRPMoveOperator, IMoveMaker, ISingleObjectiveOperator {
    3535    public ILookupParameter<DoubleValue> QualityParameter {
     
    4444
    4545    [StorableConstructor]
    46     protected VRPMoveMaker(bool deserializing) : base(deserializing) { }
     46    protected VRPMoveMaker(StorableConstructorFlag _) : base(_) { }
    4747
    4848    public VRPMoveMaker()
  • branches/2520_PersistenceReintegration/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/General/Moves/VRPMoveOperator.cs

    r16453 r16462  
    2323using HeuristicLab.Core;
    2424using HeuristicLab.Parameters;
    25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     25using HEAL.Fossil;
    2626using HeuristicLab.Problems.VehicleRouting.Interfaces;
    2727
    2828namespace HeuristicLab.Problems.VehicleRouting.Encodings.General {
    2929  [Item("VRPMoveOperator", "A VRP move operator.")]
    30   [StorableClass]
     30  [StorableType("B2A37CCE-3EF6-4648-8A9B-2BCBD4EC93F1")]
    3131  public abstract class VRPMoveOperator : VRPOperator, IVRPMoveOperator {
    3232    public ILookupParameter<IVRPEncoding> VRPToursParameter {
     
    3737
    3838    [StorableConstructor]
    39     protected VRPMoveOperator(bool deserializing) : base(deserializing) { }
     39    protected VRPMoveOperator(StorableConstructorFlag _) : base(_) { }
    4040
    4141    public VRPMoveOperator() {
  • branches/2520_PersistenceReintegration/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/General/PermutationEncoding.cs

    r16453 r16462  
    2525using HeuristicLab.Core;
    2626using HeuristicLab.Encodings.PermutationEncoding;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HEAL.Fossil;
    2828using HeuristicLab.Problems.VehicleRouting.Interfaces;
    2929
    3030namespace HeuristicLab.Problems.VehicleRouting.Encodings.General {
    3131  [Item("PermutationEncoding", "Represents a base class for permutation encodings of VRP solutions.")]
    32   [StorableClass]
     32  [StorableType("070CEB2B-0A37-4EE1-87DA-1D80F6D88B4A")]
    3333  public abstract class PermutationEncoding : Permutation, IVRPEncoding {
    3434    #region IVRPEncoding Members
     
    7777
    7878    [StorableConstructor]
    79     protected PermutationEncoding(bool serializing)
    80       : base() {
     79    protected PermutationEncoding(StorableConstructorFlag _) : base(_) {
    8180    }
    8281
  • branches/2520_PersistenceReintegration/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/General/ShakingOperators/VehicleRoutingShakingOperator.cs

    r16453 r16462  
    2525using HeuristicLab.Common;
    2626using HeuristicLab.Core;
    27 using HeuristicLab.Data;
    2827using HeuristicLab.Optimization;
    2928using HeuristicLab.Optimization.Operators;
    3029using HeuristicLab.Parameters;
    31 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     30using HEAL.Fossil;
    3231using HeuristicLab.PluginInfrastructure;
    3332using HeuristicLab.Problems.VehicleRouting.Encodings.General;
     
    3736namespace HeuristicLab.Problems.VehicleRouting {
    3837  [Item("VRPShakingOperator", "A shaking operator for VNS that applies available mutation operators.")]
    39   [StorableClass]
     38  [StorableType("1D7EAC11-693C-4CE0-A4BB-A2C67F364A95")]
    4039  public class VehicleRoutingShakingOperator : ShakingOperator<IVRPManipulator>, IVRPMultiNeighborhoodShakingOperator, IGeneralVRPOperator, IStochasticOperator {
    4140    #region Parameters
     
    5958
    6059    [StorableConstructor]
    61     protected VehicleRoutingShakingOperator(bool deserializing) : base(deserializing) { }
     60    protected VehicleRoutingShakingOperator(StorableConstructorFlag _) : base(_) { }
    6261    protected VehicleRoutingShakingOperator(VehicleRoutingShakingOperator original, Cloner cloner) : base(original, cloner) { }
    6362    public override IDeepCloneable Clone(Cloner cloner) {
  • branches/2520_PersistenceReintegration/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/General/TourEncoding.cs

    r16453 r16462  
    2424using HeuristicLab.Common;
    2525using HeuristicLab.Core;
    26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     26using HEAL.Fossil;
    2727using HeuristicLab.Problems.VehicleRouting.Interfaces;
    2828
    2929namespace HeuristicLab.Problems.VehicleRouting.Encodings.General {
    3030  [Item("TourEncoding", "Represents a base class for tour encodings of VRP solutions.")]
    31   [StorableClass]
     31  [StorableType("FC5DBAE6-05D9-4C55-AA85-6E3C2330700F")]
    3232  public abstract class TourEncoding : Item, IVRPEncoding {
    3333    public static new Image StaticItemImage {
     
    105105
    106106    [StorableConstructor]
    107     protected TourEncoding(bool serializing)
    108       : base(serializing) {
     107    protected TourEncoding(StorableConstructorFlag _) : base(_) {
    109108    }
    110109
Note: See TracChangeset for help on using the changeset viewer.