- Timestamp:
- 05/04/17 17:19:35 (7 years ago)
- Location:
- branches/PersistenceReintegration/HeuristicLab.Random/3.3
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PersistenceReintegration/HeuristicLab.Random/3.3/FastRandom.cs
r8928 r14927 2 2 using HeuristicLab.Common; 3 3 using HeuristicLab.Core; 4 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;4 using HeuristicLab.Persistence; 5 5 6 6 namespace HeuristicLab.Random { … … 43 43 /// 44 44 /// </summary> 45 [Storable Class]45 [StorableType("1a0cccd9-9e4e-4788-ac31-b436f6eb1391")] 46 46 public sealed class FastRandom : Item, IRandom { 47 47 // The +1 ensures NextDouble doesn't generate 1.0 … … 214 214 int i = 0; 215 215 uint t; 216 for (int bound = buffer.Length - 3; i < bound; 216 for (int bound = buffer.Length - 3; i < bound;) { 217 217 // Generate 4 bytes. 218 218 // Increased performance is achieved by generating 4 random bytes per loop. -
branches/PersistenceReintegration/HeuristicLab.Random/3.3/GammaDistributedRandom.cs
r14407 r14927 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Core; 25 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;25 using HeuristicLab.Persistence; 26 26 using HeuristicLab.Random; 27 27 … … 33 33 /// </summary> 34 34 [Item("GammaDistributedRandom", "A pseudo random number generator for gamma distributed random numbers.")] 35 [Storable Class]35 [StorableType("b8c87b51-c7d6-4831-a1d5-19d95074e8a3")] 36 36 public sealed class GammaDistributedRandom : Item, IRandom { 37 37 [Storable] -
branches/PersistenceReintegration/HeuristicLab.Random/3.3/MersenneTwister.cs
r14185 r14927 35 35 using HeuristicLab.Common; 36 36 using HeuristicLab.Core; 37 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;37 using HeuristicLab.Persistence; 38 38 39 39 namespace HeuristicLab.Random { … … 42 42 /// </summary> 43 43 [Item("MersenneTwister", "A high-quality pseudo random number generator which creates uniformly distributed random numbers.")] 44 [Storable Class]44 [StorableType("46866302-5a06-4c6e-9d2a-d446c71aa151")] 45 45 public sealed class MersenneTwister : Item, IRandom { 46 46 private const int n = 624, m = 397; -
branches/PersistenceReintegration/HeuristicLab.Random/3.3/NormalDistributedRandom.cs
r14185 r14927 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Core; 25 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;25 using HeuristicLab.Persistence; 26 26 27 27 namespace HeuristicLab.Random { … … 33 33 /// </summary> 34 34 [Item("NormalDistributedRandom", "A pseudo random number generator which uses the Ziggurat method to create normally distributed random numbers.")] 35 [Storable Class]35 [StorableType("94fa7d63-a180-49e3-96d9-2f74ca895073")] 36 36 public sealed class NormalDistributedRandom : Item, IRandom { 37 37 [Storable] -
branches/PersistenceReintegration/HeuristicLab.Random/3.3/NormalRandomizer.cs
r14185 r14927 25 25 using HeuristicLab.Operators; 26 26 using HeuristicLab.Parameters; 27 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;27 using HeuristicLab.Persistence; 28 28 29 29 namespace HeuristicLab.Random { … … 31 31 /// Normally distributed random number generator. 32 32 /// </summary> 33 [Storable Class]33 [StorableType("873d8ec2-3099-4c5b-bb55-80454a07ce38")] 34 34 [Item("NormalRandomizer", "Initializes the value of variable 'Value' to a random value normally distributed with parameters 'Mu' and 'Sigma'")] 35 35 public class NormalRandomizer : SingleSuccessorOperator { -
branches/PersistenceReintegration/HeuristicLab.Random/3.3/RandomCreator.cs
r14185 r14927 25 25 using HeuristicLab.Operators; 26 26 using HeuristicLab.Parameters; 27 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;27 using HeuristicLab.Persistence; 28 28 29 29 namespace HeuristicLab.Random { … … 32 32 /// </summary> 33 33 [Item("RandomCreator", "An operator which creates a new Mersenne Twister pseudo random number generator.")] 34 [Storable Class]34 [StorableType("b0248fd0-d7e3-44e9-b2dd-a9cbfe9b8ece")] 35 35 public sealed class RandomCreator : SingleSuccessorOperator { 36 36 #region Parameter Properties -
branches/PersistenceReintegration/HeuristicLab.Random/3.3/UniformDistributedRandom.cs
r14185 r14927 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Core; 25 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;25 using HeuristicLab.Persistence; 26 26 27 27 namespace HeuristicLab.Random { … … 31 31 /// </summary> 32 32 [Item("UniformDistributedRandom", "A pseudo random number generator to create uniform distributed random numbers.")] 33 [Storable Class]33 [StorableType("4cd09e9d-171e-43cf-8906-d8c6f93d71b2")] 34 34 public sealed class UniformDistributedRandom : Item, IRandom { 35 35 [Storable] -
branches/PersistenceReintegration/HeuristicLab.Random/3.3/UniformRandomizer.cs
r14185 r14927 25 25 using HeuristicLab.Operators; 26 26 using HeuristicLab.Parameters; 27 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;27 using HeuristicLab.Persistence; 28 28 29 29 namespace HeuristicLab.Random { … … 31 31 /// Uniformly distributed random number generator. 32 32 /// </summary> 33 [Storable Class]33 [StorableType("56d5dc8b-f0ba-49f1-bca1-2313a169ab71")] 34 34 [Item("UniformRandomizer", "Initializes the value of variable 'Value' to a random value uniformly distributed between 'Min' and 'Max'")] 35 35 public class UniformRandomizer : SingleSuccessorOperator {
Note: See TracChangeset
for help on using the changeset viewer.