Ignore:
Timestamp:
12/28/18 16:10:48 (7 months 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.Encodings.LinearLinkageEncoding/3.4/SimilarityCalculators/HammingSimilarityCalculator.cs

    r16453 r16462  
    2424using HeuristicLab.Core;
    2525using HeuristicLab.Optimization.Operators;
    26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     26using HEAL.Fossil;
    2727
    2828namespace HeuristicLab.Encodings.LinearLinkageEncoding {
    2929  [Item("Hamming Similarity Calculator for LinearLinkage", "Calculates the hamming similarity for two linear linkage encoded solutions.")]
    30   [StorableClass]
     30  [StorableType("285EA71B-6045-4431-9B64-77331D23CE3C")]
    3131  public sealed class HammingSimilarityCalculator : SingleObjectiveSolutionSimilarityCalculator {
    3232    protected override bool IsCommutative { get { return true; } }
    3333
    3434    [StorableConstructor]
    35     private HammingSimilarityCalculator(bool deserializing) : base(deserializing) { }
     35    private HammingSimilarityCalculator(StorableConstructorFlag _) : base(_) { }
    3636    private HammingSimilarityCalculator(HammingSimilarityCalculator original, Cloner cloner) : base(original, cloner) { }
    3737    public HammingSimilarityCalculator() : base() { }
Note: See TracChangeset for help on using the changeset viewer.