Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/28/19 13:41:42 (6 years ago)
Author:
gkronber
Message:

#2520: merged changes from PersistenceOverhaul branch (r16451:16564) into trunk

Location:
trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/HeuristicLab.Algorithms.DataAnalysis

  • trunk/HeuristicLab.Algorithms.DataAnalysis/3.4

  • trunk/HeuristicLab.Algorithms.DataAnalysis/3.4/kMeans/KMeansClustering.cs

    r15786 r16565  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
     
    2929using HeuristicLab.Optimization;
    3030using HeuristicLab.Parameters;
    31 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     31using HEAL.Attic;
    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) {
  • trunk/HeuristicLab.Algorithms.DataAnalysis/3.4/kMeans/KMeansClusteringModel.cs

    r16243 r16565  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
     
    2626using HeuristicLab.Common;
    2727using HeuristicLab.Core;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HEAL.Attic;
    2929using HeuristicLab.Problems.DataAnalysis;
    3030
     
    3333  /// Represents a k-Means clustering model.
    3434  /// </summary>
    35   [StorableClass]
     35  [StorableType("61D987AC-A142-433B-901C-B124E12A1C55")]
    3636  [Item("KMeansClusteringModel", "Represents a k-Means clustering model.")]
    3737  public sealed class KMeansClusteringModel : DataAnalysisModel, IClusteringModel {
     
    5757    }
    5858    [StorableConstructor]
    59     private KMeansClusteringModel(bool deserializing) : base(deserializing) { }
     59    private KMeansClusteringModel(StorableConstructorFlag _) : base(_) { }
    6060    private KMeansClusteringModel(KMeansClusteringModel original, Cloner cloner)
    6161      : base(original, cloner) {
  • trunk/HeuristicLab.Algorithms.DataAnalysis/3.4/kMeans/KMeansClusteringSolution.cs

    r15583 r16565  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
     
    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.Attic;
    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) {
  • trunk/HeuristicLab.Algorithms.DataAnalysis/3.4/kMeans/KMeansClusteringUtil.cs

    r15583 r16565  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
Note: See TracChangeset for help on using the changeset viewer.