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.Encodings.BinaryVectorEncoding/3.3/Creators/RandomBinaryVectorCreator.cs

    r16453 r16462  
    2525using HeuristicLab.Data;
    2626using HeuristicLab.Parameters;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HEAL.Fossil;
    2828
    2929namespace HeuristicLab.Encodings.BinaryVectorEncoding {
     
    3232  /// </summary>
    3333  [Item("RandomBinaryVectorCreator", "An operator which creates a new random binary vector with each element randomly initialized.")]
    34   [StorableClass]
     34  [StorableType("D5BF4C14-1C0B-4589-835E-BA337D325E31")]
    3535  public sealed class RandomBinaryVectorCreator : BinaryVectorCreator {
    3636    private const string TrueProbabilityParameterName = "TrueProbability";
     
    4646
    4747    [StorableConstructor]
    48     private RandomBinaryVectorCreator(bool deserializing) : base(deserializing) { }
     48    private RandomBinaryVectorCreator(StorableConstructorFlag _) : base(_) { }
    4949    private RandomBinaryVectorCreator(RandomBinaryVectorCreator original, Cloner cloner) : base(original, cloner) { }
    5050    public override IDeepCloneable Clone(Cloner cloner) { return new RandomBinaryVectorCreator(this, cloner); }
Note: See TracChangeset for help on using the changeset viewer.