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/Creators
Files:
2 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()
Note: See TracChangeset for help on using the changeset viewer.