Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/04/17 17:19:35 (8 years ago)
Author:
gkronber
Message:

#2520: changed all usages of StorableClass to use StorableType with an auto-generated GUID (did not add StorableType to other type definitions yet)

Location:
branches/PersistenceReintegration/HeuristicLab.Algorithms.DataAnalysis/3.4/kMeans
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/PersistenceReintegration/HeuristicLab.Algorithms.DataAnalysis/3.4/kMeans/KMeansClustering.cs

    r14843 r14927  
    2929using HeuristicLab.Optimization;
    3030using HeuristicLab.Parameters;
    31 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     31using HeuristicLab.Persistence;
    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("b85d0012-07d4-4601-87a4-2a6d19648b22")]
    4141  public sealed class KMeansClustering : FixedDataAnalysisAlgorithm<IClusteringProblem> {
    4242    private const string KParameterName = "k";
  • branches/PersistenceReintegration/HeuristicLab.Algorithms.DataAnalysis/3.4/kMeans/KMeansClusteringModel.cs

    r14185 r14927  
    2525using HeuristicLab.Common;
    2626using HeuristicLab.Core;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HeuristicLab.Persistence;
    2828using HeuristicLab.Problems.DataAnalysis;
    2929
     
    3232  /// Represents a k-Means clustering model.
    3333  /// </summary>
    34   [StorableClass]
     34  [StorableType("c5179f26-13f5-4427-80c6-7d3ed6fcdeec")]
    3535  [Item("KMeansClusteringModel", "Represents a k-Means clustering model.")]
    3636  public sealed class KMeansClusteringModel : NamedItem, IClusteringModel {
  • branches/PersistenceReintegration/HeuristicLab.Algorithms.DataAnalysis/3.4/kMeans/KMeansClusteringSolution.cs

    r14185 r14927  
    2626using HeuristicLab.Common;
    2727using HeuristicLab.Core;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HeuristicLab.Persistence;
    2929using HeuristicLab.Problems.DataAnalysis;
    3030using HeuristicLab.Optimization;
     
    3636  /// </summary>
    3737  [Item("k-Means clustering solution", "Represents a k-Means solution for a clustering problem which can be visualized in the GUI.")]
    38   [StorableClass]
     38  [StorableType("43ef58af-7372-45d0-a8ef-a54746d33225")]
    3939  public sealed class KMeansClusteringSolution : ClusteringSolution {
    4040    private const string TrainingIntraClusterSumOfSquaresResultName = "Intra-cluster sum of squares (training)";
Note: See TracChangeset for help on using the changeset viewer.