Changeset 2794 for trunk/sources/HeuristicLab.Random
- Timestamp:
- 02/14/10 05:31:49 (14 years ago)
- Location:
- trunk/sources/HeuristicLab.Random/3.3
- Files:
-
- 4 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Random/3.3/HeuristicLab.Random-3.3.csproj
r2773 r2794 86 86 <ItemGroup> 87 87 <None Include="HeuristicLabRandomPlugin.cs.frame" /> 88 <Compile Include="RandomInitializer.cs" />89 88 <Compile Include="HeuristicLabRandomPlugin.cs" /> 90 89 <Compile Include="MersenneTwister.cs"> … … 95 94 </Compile> 96 95 <Compile Include="Properties\AssemblyInfo.cs" /> 96 <Compile Include="RandomCreator.cs" /> 97 97 </ItemGroup> 98 98 <ItemGroup> -
trunk/sources/HeuristicLab.Random/3.3/HeuristicLabRandomPlugin.cs.frame
r2790 r2794 20 20 #endregion 21 21 22 using System;23 using System.Collections.Generic;24 using System.Text;25 22 using HeuristicLab.PluginInfrastructure; 26 23 -
trunk/sources/HeuristicLab.Random/3.3/MersenneTwister.cs
r2790 r2794 33 33 34 34 using System; 35 using System.Collections.Generic;36 using System.Text;37 using System.Xml;38 35 using HeuristicLab.Core; 39 36 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; -
trunk/sources/HeuristicLab.Random/3.3/NormalDistributedRandom.cs
r2790 r2794 21 21 22 22 using System; 23 using System.Collections.Generic;24 using System.Text;25 using System.Xml;26 using System.Globalization;27 23 using HeuristicLab.Core; 28 24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; -
trunk/sources/HeuristicLab.Random/3.3/RandomCreator.cs
r2792 r2794 20 20 #endregion 21 21 22 using System;23 using System.Collections.Generic;24 using System.Text;25 22 using HeuristicLab.Core; 26 23 using HeuristicLab.Data; … … 31 28 namespace HeuristicLab.Operators { 32 29 /// <summary> 33 /// An operator which initializes apseudo random number generator.30 /// An operator which creates a new pseudo random number generator. 34 31 /// </summary> 35 [Item("Random Initializer", "An operator which initializes apseudo random number generator.")]32 [Item("RandomCreator", "An operator which creates a new pseudo random number generator.")] 36 33 [EmptyStorableClass] 37 34 [Creatable("Test")] 38 public sealed class Random Initializer : SingleSuccessorOperator {35 public sealed class RandomCreator : SingleSuccessorOperator { 39 36 public ValueLookupParameter<BoolData> SetSeedRandomlyParameter { 40 37 get { return (ValueLookupParameter<BoolData>)Parameters["SetSeedRandomly"]; } … … 55 52 } 56 53 57 public Random Initializer()54 public RandomCreator() 58 55 : base() { 59 56 Parameters.Add(new ValueLookupParameter<BoolData>("SetSeedRandomly", "True if the random seed should be set to a random value, otherwise false.", new BoolData(true))); 60 Parameters.Add(new ValueLookupParameter<IntData>("Seed", "The random seed used to initialize the pseudo random number generator.", new IntData(0)));61 Parameters.Add(new LookupParameter<IRandom>("Random", "The pseudo random number generator which should beinitialized with the given seed."));57 Parameters.Add(new ValueLookupParameter<IntData>("Seed", "The random seed used to initialize the new pseudo random number generator.", new IntData(0))); 58 Parameters.Add(new LookupParameter<IRandom>("Random", "The new pseudo random number generator which is initialized with the given seed.")); 62 59 } 63 60
Note: See TracChangeset
for help on using the changeset viewer.