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/InteractionInitializers/SortedRandomInteractionsInitializer.cs

    r16453 r16462  
    2626using HeuristicLab.Encodings.BinaryVectorEncoding;
    2727using HeuristicLab.Parameters;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HEAL.Fossil;
    2929using HeuristicLab.PluginInfrastructure;
    3030
    3131namespace HeuristicLab.Problems.NK {
    3232  [Item("SortedRandomInteractionsInitializer", "Randomly assigns interactions across all bits and sorts components according to bit affinity.")]
    33   [StorableClass]
     33  [StorableType("33F27348-DC65-4DCF-88EC-383379EEEA0C")]
    3434  public sealed class SortedRandomInteractionsInitializer : ParameterizedNamedItem, IInteractionInitializer {
    3535    public IConstrainedValueParameter<IBinaryVectorComparer> ComparerParameter {
     
    4141
    4242    [StorableConstructor]
    43     private SortedRandomInteractionsInitializer(bool serializing) : base(serializing) { }
     43    private SortedRandomInteractionsInitializer(StorableConstructorFlag _) : base(_) { }
    4444    private SortedRandomInteractionsInitializer(SortedRandomInteractionsInitializer original, Cloner cloner) : base(original, cloner) { }
    4545    public SortedRandomInteractionsInitializer() {
Note: See TracChangeset for help on using the changeset viewer.