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/BinaryVectorComparers/MedianBitBinaryVectorComparer.cs

    r16453 r16462  
    2424using HeuristicLab.Core;
    2525using HeuristicLab.Encodings.BinaryVectorEncoding;
    26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     26using HEAL.Fossil;
    2727
    2828namespace HeuristicLab.Problems.NK {
    2929  [Item("Median Bit Binary Vector Comparer", "Compares two binary vectors by the median positive bit location")]
    30   [StorableClass]
     30  [StorableType("C750F13C-F775-4A53-8725-DB26F38DC229")]
    3131  public sealed class MedianBitBinaryVectorComparer : Item, IBinaryVectorComparer {
    3232    [StorableConstructor]
    33     private MedianBitBinaryVectorComparer(bool deserializing) : base(deserializing) { }
     33    private MedianBitBinaryVectorComparer(StorableConstructorFlag _) : base(_) { }
    3434    private MedianBitBinaryVectorComparer(MedianBitBinaryVectorComparer original, Cloner cloner)
    3535      : base(original, cloner) { }
Note: See TracChangeset for help on using the changeset viewer.