- Timestamp:
- 12/28/18 16:10:48 (6 years ago)
- Location:
- branches/2520_PersistenceReintegration/HeuristicLab.Random/3.3
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2520_PersistenceReintegration/HeuristicLab.Random/3.3/FastRandom.cs
r8928 r16462 2 2 using HeuristicLab.Common; 3 3 using HeuristicLab.Core; 4 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;4 using HEAL.Fossil; 5 5 6 6 namespace HeuristicLab.Random { … … 43 43 /// 44 44 /// </summary> 45 [Storable Class]45 [StorableType("BC86BFF3-80B5-4C77-9D8C-B29576032634")] 46 46 public sealed class FastRandom : Item, IRandom { 47 47 // The +1 ensures NextDouble doesn't generate 1.0 … … 59 59 /// <param name="deserializing">true, if the constructor is called during deserialization.</param> 60 60 [StorableConstructor] 61 private FastRandom( bool deserializing) : base(deserializing) { }61 private FastRandom(StorableConstructorFlag _) : base(_) { } 62 62 63 63 /// <summary> -
branches/2520_PersistenceReintegration/HeuristicLab.Random/3.3/GammaDistributedRandom.cs
r16453 r16462 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Core; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Fossil; 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("5DA8921C-5026-4B20-9F64-2C6EF0BF8B33")] 36 36 public sealed class GammaDistributedRandom : Item, IRandom { 37 37 [Storable] … … 63 63 64 64 [StorableConstructor] 65 private GammaDistributedRandom( bool deserializing) : base(deserializing) { }65 private GammaDistributedRandom(StorableConstructorFlag _) : base(_) { } 66 66 67 67 private GammaDistributedRandom(GammaDistributedRandom original, Cloner cloner) : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Random/3.3/HeuristicLab.Random-3.3.csproj
r16454 r16462 111 111 <HintPath>..\..\packages\Google.Protobuf.3.6.1\lib\net45\Google.Protobuf.dll</HintPath> 112 112 </Reference> 113 <Reference Include="HEAL.Fossil, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">113 <Reference Include="HEAL.Fossil, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 114 114 <HintPath>..\..\packages\HEAL.Fossil.1.0.0\lib\netstandard2.0\HEAL.Fossil.dll</HintPath> 115 115 </Reference> -
branches/2520_PersistenceReintegration/HeuristicLab.Random/3.3/MersenneTwister.cs
r16453 r16462 35 35 using HeuristicLab.Common; 36 36 using HeuristicLab.Core; 37 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;37 using HEAL.Fossil; 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("107BE400-46D0-4CD6-BE80-46F40B6AB148")] 45 45 public sealed class MersenneTwister : Item, IRandom { 46 46 private const int n = 624, m = 397; … … 59 59 /// <param name="deserializing">true, if the constructor is called during deserialization.</param> 60 60 [StorableConstructor] 61 private MersenneTwister( bool deserializing) : base(deserializing) { }61 private MersenneTwister(StorableConstructorFlag _) : base(_) { } 62 62 /// <summary> 63 63 /// Initializes a new instance from an existing one (copy constructor). -
branches/2520_PersistenceReintegration/HeuristicLab.Random/3.3/NormalDistributedRandom.cs
r16453 r16462 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Core; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Fossil; 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("240F7050-C05B-4E85-82C3-2871FE2138B1")] 36 36 public sealed class NormalDistributedRandom : Item, IRandom { 37 37 [Storable] … … 454 454 /// <param name="deserializing">true, if the constructor is called during deserialization.</param> 455 455 [StorableConstructor] 456 private NormalDistributedRandom( bool deserializing) : base(deserializing) { }456 private NormalDistributedRandom(StorableConstructorFlag _) : base(_) { } 457 457 458 458 /// <summary> -
branches/2520_PersistenceReintegration/HeuristicLab.Random/3.3/NormalRandomizer.cs
r16453 r16462 25 25 using HeuristicLab.Operators; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 28 28 29 29 namespace HeuristicLab.Random { … … 31 31 /// Normally distributed random number generator. 32 32 /// </summary> 33 [Storable Class]33 [StorableType("0EAF4184-6C98-4C9D-80A1-09A42E03450E")] 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 { … … 61 61 62 62 [StorableConstructor] 63 protected NormalRandomizer( bool deserializing) : base(deserializing) { }63 protected NormalRandomizer(StorableConstructorFlag _) : base(_) { } 64 64 protected NormalRandomizer(NormalRandomizer original, Cloner cloner) : base(original, cloner) { } 65 65 /// <summary> -
branches/2520_PersistenceReintegration/HeuristicLab.Random/3.3/RandomCreator.cs
r16453 r16462 25 25 using HeuristicLab.Operators; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 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("78A995DA-CE6C-4693-A494-6ABBF1849CEB")] 35 35 public sealed class RandomCreator : SingleSuccessorOperator { 36 36 #region Parameter Properties … … 65 65 66 66 [StorableConstructor] 67 private RandomCreator( bool deserializing) : base(deserializing) { }67 private RandomCreator(StorableConstructorFlag _) : base(_) { } 68 68 private RandomCreator(RandomCreator original, Cloner cloner) : base(original, cloner) { } 69 69 public RandomCreator() -
branches/2520_PersistenceReintegration/HeuristicLab.Random/3.3/UniformDistributedRandom.cs
r16453 r16462 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Core; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Fossil; 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("01239E33-7AAD-467A-A95C-6D7E001F5827")] 34 34 public sealed class UniformDistributedRandom : Item, IRandom { 35 35 [Storable] … … 61 61 /// <param name="deserializing">true, if the constructor is called during deserialization.</param> 62 62 [StorableConstructor] 63 private UniformDistributedRandom( bool deserializing) : base(deserializing) { }63 private UniformDistributedRandom(StorableConstructorFlag _) : base(_) { } 64 64 65 65 /// <summary> -
branches/2520_PersistenceReintegration/HeuristicLab.Random/3.3/UniformRandomizer.cs
r16453 r16462 25 25 using HeuristicLab.Operators; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 28 28 29 29 namespace HeuristicLab.Random { … … 31 31 /// Uniformly distributed random number generator. 32 32 /// </summary> 33 [Storable Class]33 [StorableType("427A6E3A-EC49-4513-9773-768E78F583BF")] 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 { … … 61 61 62 62 [StorableConstructor] 63 protected UniformRandomizer( bool deserializing) : base(deserializing) { }63 protected UniformRandomizer(StorableConstructorFlag _) : base(_) { } 64 64 protected UniformRandomizer(UniformRandomizer original, Cloner cloner) : base(original, cloner) { } 65 65 /// <summary>
Note: See TracChangeset
for help on using the changeset viewer.