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

Location:
branches/PersistenceOverhaul/HeuristicLab.Random/3.3
Files:
7 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;
  • branches/PersistenceOverhaul/HeuristicLab.Random/3.3/MersenneTwister.cs

    r12012 r13368  
    4242  /// </summary>
    4343  [Item("MersenneTwister", "A high-quality pseudo random number generator which creates uniformly distributed random numbers.")]
    44   [StorableClass]
     44  [StorableClass("9B6E06A4-D494-4BC6-B9A8-DC515ADCDB28")]
    4545  public sealed class MersenneTwister : Item, IRandom {
    4646    private const int n = 624, m = 397;
  • branches/PersistenceOverhaul/HeuristicLab.Random/3.3/NormalDistributedRandom.cs

    r12012 r13368  
    3333  /// </summary>
    3434  [Item("NormalDistributedRandom", "A pseudo random number generator which uses the Ziggurat method to create normally distributed random numbers.")]
    35   [StorableClass]
     35  [StorableClass("D9DA2DBC-A969-4BCE-89D4-35750B8CA73A")]
    3636  public sealed class NormalDistributedRandom : Item, IRandom {
    3737    [Storable]
    3838    private double mu;
    3939    /// <summary>
    40     /// Gets or sets the value for µ.
     40    /// Gets or sets the value for ï¿œ.
    4141    /// </summary>
    4242    public double Mu {
     
    469469
    470470    /// <summary>
    471     /// Initializes a new instance of <see cref="NormalDistributedRandom"/> with µ = 0 and sigma = 1
     471    /// Initializes a new instance of <see cref="NormalDistributedRandom"/> with ï¿œ = 0 and sigma = 1
    472472    /// and a new random number generator.
    473473    /// </summary>
     
    483483    /// </summary>   
    484484    /// <param name="uniformRandom">The random number generator.</param>
    485     /// <param name="mu">The value for µ.</param>
     485    /// <param name="mu">The value for ï¿œ.</param>
    486486    /// <param name="sigma">The value for sigma.</param>
    487487    public NormalDistributedRandom(IRandom uniformRandom, double mu, double sigma) {
  • branches/PersistenceOverhaul/HeuristicLab.Random/3.3/NormalRandomizer.cs

    r12012 r13368  
    3131  /// Normally distributed random number generator.
    3232  /// </summary>
    33   [StorableClass]
     33  [StorableClass("7659787C-2145-447B-AA01-EC4702FE99F3")]
    3434  [Item("NormalRandomizer", "Initializes the value of variable 'Value' to a random value normally distributed with parameters 'Mu' and 'Sigma'")]
    3535  public class NormalRandomizer : SingleSuccessorOperator {
  • branches/PersistenceOverhaul/HeuristicLab.Random/3.3/RandomCreator.cs

    r12012 r13368  
    3232  /// </summary>
    3333  [Item("RandomCreator", "An operator which creates a new Mersenne Twister pseudo random number generator.")]
    34   [StorableClass]
     34  [StorableClass("8DDEF6F1-0E26-4B4B-8F42-4B6D27A843A7")]
    3535  public sealed class RandomCreator : SingleSuccessorOperator {
    3636    #region Parameter Properties
  • branches/PersistenceOverhaul/HeuristicLab.Random/3.3/UniformDistributedRandom.cs

    r12012 r13368  
    3131  /// </summary>
    3232  [Item("UniformDistributedRandom", "A pseudo random number generator to create uniform distributed random numbers.")]
    33   [StorableClass]
     33  [StorableClass("6A6E7A7A-4AE2-40FD-9FD1-C821D0DC349D")]
    3434  public sealed class UniformDistributedRandom : Item, IRandom {
    3535    [Storable]
  • branches/PersistenceOverhaul/HeuristicLab.Random/3.3/UniformRandomizer.cs

    r12012 r13368  
    3131  /// Uniformly distributed random number generator.
    3232  /// </summary>
    33   [StorableClass]
     33  [StorableClass("97FF61DF-3B76-4C06-B3CC-A8BBFBDD9E96")]
    3434  [Item("UniformRandomizer", "Initializes the value of variable 'Value' to a random value uniformly distributed between 'Min' and 'Max'")]
    3535  public class UniformRandomizer : SingleSuccessorOperator {
Note: See TracChangeset for help on using the changeset viewer.