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/kMeans/KMeansClustering.cs

    r16453 r16462  
    2929using HeuristicLab.Optimization;
    3030using HeuristicLab.Parameters;
    31 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     31using HEAL.Fossil;
    3232using HeuristicLab.Problems.DataAnalysis;
    3333
     
    3838  [Item("k-Means", "The k-Means clustering algorithm (wrapper for ALGLIB).")]
    3939  [Creatable(CreatableAttribute.Categories.DataAnalysis, Priority = 10)]
    40   [StorableClass]
     40  [StorableType("84FAF4ED-0679-40BA-B3DD-83809095F8CF")]
    4141  public sealed class KMeansClustering : FixedDataAnalysisAlgorithm<IClusteringProblem> {
    4242    private const string KParameterName = "k";
     
    6060    #endregion
    6161    [StorableConstructor]
    62     private KMeansClustering(bool deserializing) : base(deserializing) { }
     62    private KMeansClustering(StorableConstructorFlag _) : base(_) { }
    6363    private KMeansClustering(KMeansClustering original, Cloner cloner)
    6464      : base(original, cloner) {
Note: See TracChangeset for help on using the changeset viewer.