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
Location:
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Creators
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Creators/NormalDistributedRealVectorCreator.cs

    r16453 r16462  
    2626using HeuristicLab.Optimization;
    2727using HeuristicLab.Parameters;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HEAL.Fossil;
    2929using HeuristicLab.Random;
    3030
     
    3434  /// </summary>
    3535  [Item("NormalDistributedRealVectorCreator", "An operator which creates a new random real vector with each element normally distributed in a specified range.")]
    36   [StorableClass]
     36  [StorableType("790F7401-DD2A-4910-8632-F737E39CE6EE")]
    3737  public class NormalDistributedRealVectorCreator : RealVectorCreator, IStrategyParameterCreator {
    3838
     
    5050
    5151    [StorableConstructor]
    52     protected NormalDistributedRealVectorCreator(bool deserializing) : base(deserializing) { }
     52    protected NormalDistributedRealVectorCreator(StorableConstructorFlag _) : base(_) { }
    5353    protected NormalDistributedRealVectorCreator(NormalDistributedRealVectorCreator original, Cloner cloner) : base(original, cloner) { }
    5454    public NormalDistributedRealVectorCreator()
  • branches/2520_PersistenceReintegration/HeuristicLab.Encodings.RealVectorEncoding/3.3/Creators/UniformRandomRealVectorCreator.cs

    r16453 r16462  
    2525using HeuristicLab.Data;
    2626using HeuristicLab.Optimization;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HEAL.Fossil;
    2828
    2929namespace HeuristicLab.Encodings.RealVectorEncoding {
     
    3232  /// </summary>
    3333  [Item("UniformRandomRealVectorCreator", "An operator which creates a new random real vector with each element uniformly distributed in a specified range.")]
    34   [StorableClass]
     34  [StorableType("DF237BEA-D21B-4A2C-820B-47CCC998D0E1")]
    3535  public class UniformRandomRealVectorCreator : RealVectorCreator, IStrategyParameterCreator {
    3636    [StorableConstructor]
    37     protected UniformRandomRealVectorCreator(bool deserializing) : base(deserializing) { }
     37    protected UniformRandomRealVectorCreator(StorableConstructorFlag _) : base(_) { }
    3838    protected UniformRandomRealVectorCreator(UniformRandomRealVectorCreator original, Cloner cloner) : base(original, cloner) { }
    3939    public UniformRandomRealVectorCreator() : base() { }
Note: See TracChangeset for help on using the changeset viewer.