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/Zhu/Manipulators
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2520_PersistenceReintegration/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Zhu/Manipulators/ZhuManipulator.cs

    r16453 r16462  
    2424using HeuristicLab.Optimization;
    2525using HeuristicLab.Parameters;
    26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     26using HEAL.Fossil;
    2727using HeuristicLab.Problems.VehicleRouting.Encodings.General;
    2828using HeuristicLab.Problems.VehicleRouting.Interfaces;
     
    3030namespace HeuristicLab.Problems.VehicleRouting.Encodings.Zhu {
    3131  [Item("ZhuManipulator", "An operator which manipulates a VRP representation.")]
    32   [StorableClass]
     32  [StorableType("DC8B774D-4D51-4439-90BC-9533CACF74FD")]
    3333  public abstract class ZhuManipulator : VRPManipulator, IStochasticOperator, IZhuOperator {
    3434    public ILookupParameter<IRandom> RandomParameter {
     
    3737
    3838    [StorableConstructor]
    39     protected ZhuManipulator(bool deserializing) : base(deserializing) { }
     39    protected ZhuManipulator(StorableConstructorFlag _) : base(_) { }
    4040
    4141    public ZhuManipulator()
  • branches/2520_PersistenceReintegration/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/Zhu/Manipulators/ZhuPermutationManipulator.cs

    r16453 r16462  
    2424using HeuristicLab.Encodings.PermutationEncoding;
    2525using HeuristicLab.Parameters;
    26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     26using HEAL.Fossil;
    2727
    2828namespace HeuristicLab.Problems.VehicleRouting.Encodings.Zhu {
    2929  [Item("ZhuPermutationManipulator", "An operator which manipulates a VRP representation by using a standard permutation manipulator. It is implemented as described in Zhu, K.Q. (2000). A New Genetic Algorithm For VRPTW. Proceedings of the International Conference on Artificial Intelligence.")]
    30   [StorableClass]
     30  [StorableType("2D0168F4-40E8-4E54-AEAD-E8CEAE355AEB")]
    3131  public sealed class ZhuPermutationManipulator : ZhuManipulator {
    3232    public IValueLookupParameter<IPermutationManipulator> InnerManipulatorParameter {
     
    3535
    3636    [StorableConstructor]
    37     private ZhuPermutationManipulator(bool deserializing) : base(deserializing) { }
     37    private ZhuPermutationManipulator(StorableConstructorFlag _) : base(_) { }
    3838
    3939    public ZhuPermutationManipulator()
Note: See TracChangeset for help on using the changeset viewer.