Ignore:
Timestamp:
12/28/18 16:10:48 (2 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
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2520_PersistenceReintegration/HeuristicLab.Problems.NK/3.3/WeightInitializers/EqualWeightsInitializer.cs

    r16453 r16462  
    2323using HeuristicLab.Common;
    2424using HeuristicLab.Core;
    25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     25using HEAL.Fossil;
    2626
    2727namespace HeuristicLab.Problems.NK {
    2828  [Item("EqualWeightsInitializer", "Initializes all weights to 1.0.")]
    29   [StorableClass]
     29  [StorableType("AFFF8CCF-FF3E-48F6-861D-2A5E595FA0C0")]
    3030  public sealed class EqualWeightsInitializer : ParameterizedNamedItem, IWeightsInitializer {
    3131    [StorableConstructor]
    32     private EqualWeightsInitializer(bool deserializing) : base(deserializing) { }
     32    private EqualWeightsInitializer(StorableConstructorFlag _) : base(_) { }
    3333    private EqualWeightsInitializer(EqualWeightsInitializer original, Cloner cloner)
    3434      : base(original, cloner) { }
Note: See TracChangeset for help on using the changeset viewer.