Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/24/15 17:08:13 (9 years ago)
Author:
ascheibe
Message:

#2520 added guids to storable classes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/PersistenceOverhaul/HeuristicLab.Random/3.3/FastRandom.cs

    r8928 r13368  
    1 using System;
     1using System;
    22using HeuristicLab.Common;
    33using HeuristicLab.Core;
     
    4343  ///   
    4444  /// </summary>
    45   [StorableClass]
     45  [StorableClass("E74F1CF3-D42B-4AC1-9863-9034C982F319")]
    4646  public sealed class FastRandom : Item, IRandom {
    4747    // The +1 ensures NextDouble doesn't generate 1.0
     
    218218        // Increased performance is achieved by generating 4 random bytes per loop.
    219219        // Also note that no mask needs to be applied to zero out the higher order bytes before
    220         // casting because the cast ignores thos bytes. Thanks to Stefan Troschtz for pointing this out.
     220        // casting because the cast ignores thos bytes. Thanks to Stefan Troschï¿œtz for pointing this out.
    221221        t = (x ^ (x << 11));
    222222        x = y; y = z; z = w;
Note: See TracChangeset for help on using the changeset viewer.