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/NKBitFlipMoveEvaluator.cs

    r16453 r16462  
    2626using HeuristicLab.Encodings.BinaryVectorEncoding;
    2727using HeuristicLab.Parameters;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HEAL.Fossil;
    2929
    3030namespace HeuristicLab.Problems.NK {
    3131
    3232  [Item("NK BitFlip Move Evaluator", "Evaluates a single bit flip on an NK landscape.")]
    33   [StorableClass]
     33  [StorableType("58DA2DE8-6FEB-464F-9B25-E2CA676D530E")]
    3434  public class NKBitFlipMoveEvaluator : NKMoveEvaluator, IOneBitflipMoveOperator {
    3535    public ILookupParameter<OneBitflipMove> OneBitflipMoveParameter {
     
    4141
    4242    [StorableConstructor]
    43     protected NKBitFlipMoveEvaluator(bool deserializing) : base(deserializing) { }
     43    protected NKBitFlipMoveEvaluator(StorableConstructorFlag _) : base(_) { }
    4444    protected NKBitFlipMoveEvaluator(NKBitFlipMoveEvaluator original, Cloner cloner)
    4545      : base(original, cloner) { }
Note: See TracChangeset for help on using the changeset viewer.