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/NearestNeighbour/NearestNeighbourClassification.cs

    r16453 r16462  
    2828using HeuristicLab.Optimization;
    2929using HeuristicLab.Parameters;
    30 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     30using HEAL.Fossil;
    3131using HeuristicLab.Problems.DataAnalysis;
    3232
     
    3737  [Item("Nearest Neighbour Classification (kNN)", "Nearest neighbour classification data analysis algorithm (wrapper for ALGLIB).")]
    3838  [Creatable(CreatableAttribute.Categories.DataAnalysisClassification, Priority = 150)]
    39   [StorableClass]
     39  [StorableType("98161D6F-D977-45EA-B899-E47EE017865E")]
    4040  public sealed class NearestNeighbourClassification : FixedDataAnalysisAlgorithm<IClassificationProblem> {
    4141    private const string KParameterName = "K";
     
    6767
    6868    [StorableConstructor]
    69     private NearestNeighbourClassification(bool deserializing) : base(deserializing) { }
     69    private NearestNeighbourClassification(StorableConstructorFlag _) : base(_) { }
    7070    private NearestNeighbourClassification(NearestNeighbourClassification original, Cloner cloner)
    7171      : base(original, cloner) {
Note: See TracChangeset for help on using the changeset viewer.