Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/28/18 16:10:48 (6 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/Linear/Scaling.cs

    r16453 r16462  
    2525using HeuristicLab.Common;
    2626using HeuristicLab.Core;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HEAL.Fossil;
    2828using HeuristicLab.Problems.DataAnalysis;
    2929
    3030namespace HeuristicLab.Algorithms.DataAnalysis {
    3131  [Obsolete("Use transformation classes in Problems.DataAnalysis instead")]
    32   [StorableClass]
     32  [StorableType("52EABC0F-B8D2-4ADD-ACC2-C825D3F1D6F3")]
    3333  [Item(Name = "Scaling", Description = "Contains information about scaling of variables for data-analysis algorithms.")]
    3434  public class Scaling : Item {
     
    3636    private Dictionary<string, Tuple<double, double>> scalingParameters = new Dictionary<string, Tuple<double, double>>();
    3737    [StorableConstructor]
    38     protected Scaling(bool deserializing) : base(deserializing) { }
     38    protected Scaling(StorableConstructorFlag _) : base(_) { }
    3939    protected Scaling(Scaling original, Cloner cloner)
    4040      : base(original, cloner) {
Note: See TracChangeset for help on using the changeset viewer.