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.Random/3.3/MersenneTwister.cs

    r16453 r16462  
    3535using HeuristicLab.Common;
    3636using HeuristicLab.Core;
    37 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     37using HEAL.Fossil;
    3838
    3939namespace HeuristicLab.Random {
     
    4242  /// </summary>
    4343  [Item("MersenneTwister", "A high-quality pseudo random number generator which creates uniformly distributed random numbers.")]
    44   [StorableClass]
     44  [StorableType("107BE400-46D0-4CD6-BE80-46F40B6AB148")]
    4545  public sealed class MersenneTwister : Item, IRandom {
    4646    private const int n = 624, m = 397;
     
    5959    /// <param name="deserializing">true, if the constructor is called during deserialization.</param>
    6060    [StorableConstructor]
    61     private MersenneTwister(bool deserializing) : base(deserializing) { }
     61    private MersenneTwister(StorableConstructorFlag _) : base(_) { }
    6262    /// <summary>
    6363    /// Initializes a new instance from an existing one (copy constructor).
Note: See TracChangeset for help on using the changeset viewer.