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/KMeansClusteringSolution.cs

    r16453 r16462  
    2020#endregion
    2121
    22 using System;
    23 using System.Collections.Generic;
    24 using System.Drawing;
    25 using System.Linq;
    2622using HeuristicLab.Common;
    2723using HeuristicLab.Core;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     24using HEAL.Fossil;
    2925using HeuristicLab.Problems.DataAnalysis;
    3026using HeuristicLab.Optimization;
     
    3632  /// </summary>
    3733  [Item("k-Means clustering solution", "Represents a k-Means solution for a clustering problem which can be visualized in the GUI.")]
    38   [StorableClass]
     34  [StorableType("E46AD906-04C4-4BEB-977D-BBC80E97C874")]
    3935  public sealed class KMeansClusteringSolution : ClusteringSolution {
    4036    private const string TrainingIntraClusterSumOfSquaresResultName = "Intra-cluster sum of squares (training)";
     
    4642
    4743    [StorableConstructor]
    48     private KMeansClusteringSolution(bool deserializing) : base(deserializing) { }
     44    private KMeansClusteringSolution(StorableConstructorFlag _) : base(_) { }
    4945    private KMeansClusteringSolution(KMeansClusteringSolution original, Cloner cloner)
    5046      : base(original, cloner) {
Note: See TracChangeset for help on using the changeset viewer.