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/Moves/MultiVRPMoveOperator
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • 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()
Note: See TracChangeset for help on using the changeset viewer.