Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/19/10 05:38:47 (14 years ago)
Author:
swagner
Message:

Worked in integration of FastRandom PRNG (#1114)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Random/3.3/MersenneTwister.cs

    r3376 r4258  
    4343  [Item("MersenneTwister", "A high-quality pseudo random number generator which creates uniformly distributed random numbers.")]
    4444  [StorableClass]
    45   public class MersenneTwister : Item, IRandom {
     45  public sealed class MersenneTwister : Item, IRandom {
    4646    private const int n = 624, m = 397;
    4747
     
    7878      init = true;
    7979    }
     80    /// <summary>
     81    /// Used by HeuristicLab.Persistence to initialize new instances during deserialization.
     82    /// </summary>
     83    /// <param name="deserializing">true, if the constructor is called during deserialization.</param>
     84    [StorableConstructor]
     85    private MersenneTwister(bool deserializing) : base(deserializing) { }
    8086
    8187    /// <summary>
Note: See TracChangeset for help on using the changeset viewer.