Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/28/18 16:10:48 (5 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.Algorithms.DataAnalysis/3.4/TSNE/Distances/EuclideanDistance.cs

    r16453 r16462  
    2222using System;
    2323using System.Collections.Generic;
    24 using System.Linq;
    2524using HeuristicLab.Common;
    2625using HeuristicLab.Core;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     26using HEAL.Fossil;
    2827
    2928namespace HeuristicLab.Algorithms.DataAnalysis {
    30   [StorableClass]
     29  [StorableType("1D3FE1D5-E524-4DEC-B845-34C940F5BA61")]
    3130  [Item("EuclideanDistance", "A norm function that uses Euclidean distance")]
    3231  public class EuclideanDistance : DistanceBase<IEnumerable<double>> {
    3332    #region HLConstructors & Cloning
    3433    [StorableConstructor]
    35     protected EuclideanDistance(bool deserializing) : base(deserializing) { }
     34    protected EuclideanDistance(StorableConstructorFlag _) : base(_) { }
    3635    protected EuclideanDistance(EuclideanDistance original, Cloner cloner) : base(original, cloner) { }
    3736    public override IDeepCloneable Clone(Cloner cloner) {
Note: See TracChangeset for help on using the changeset viewer.