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)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/PersistenceReintegration/HeuristicLab.Algorithms.DataAnalysis/3.4/TSNE/TSNEAlgorithm.cs

    r14863 r14927  
    3131using HeuristicLab.Optimization;
    3232using HeuristicLab.Parameters;
    33 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     33using HeuristicLab.Persistence;
    3434using HeuristicLab.Problems.DataAnalysis;
    3535using HeuristicLab.Random;
     
    4343                "dimensional space to allow visual cluster identification.")]
    4444  [Creatable(CreatableAttribute.Categories.DataAnalysis, Priority = 100)]
    45   [StorableClass]
     45  [StorableType("d2c00bc0-ece7-40f0-aac3-4ddfa0ec2697")]
    4646  public sealed class TSNEAlgorithm : BasicAlgorithm {
    4747    public override bool SupportsPause {
     
    198198
    199199    private TSNEAlgorithm(TSNEAlgorithm original, Cloner cloner) : base(original, cloner) {
    200       if(original.dataRowNames!=null)
    201       this.dataRowNames = new Dictionary<string, List<int>>(original.dataRowNames);
     200      if (original.dataRowNames != null)
     201        this.dataRowNames = new Dictionary<string, List<int>>(original.dataRowNames);
    202202      if (original.dataRows != null)
    203203        this.dataRows = original.dataRows.ToDictionary(kvp => kvp.Key, kvp => cloner.Clone(kvp.Value));
Note: See TracChangeset for help on using the changeset viewer.