Changeset 426 for trunk/sources
- Timestamp:
- 08/03/08 11:01:27 (16 years ago)
- Location:
- trunk/sources/HeuristicLab.Random
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Random/NormalRandomAdder.cs
r183 r426 38 38 the smallest allowed value then 'Value' is set to the lower bound and vice versa for the upper bound."; 39 39 } 40 } 41 42 public double Mu { 43 get { return ((DoubleData)GetVariable("Mu").Value).Data; } 44 set { ((DoubleData)GetVariable("Mu").Value).Data = value; } 45 } 46 public double Sigma { 47 get { return ((DoubleData)GetVariable("Sigma").Value).Data; } 48 set { ((DoubleData)GetVariable("Sigma").Value).Data = value; } 40 49 } 41 50 -
trunk/sources/HeuristicLab.Random/NormalRandomizer.cs
r183 r426 33 33 public override string Description { 34 34 get { return "Initializes the value of variable 'Value' to a random value normally distributed with 'Mu' and 'Sigma'."; } 35 } 36 37 public double Mu { 38 get { return ((DoubleData)GetVariable("Mu").Value).Data; } 39 set { ((DoubleData)GetVariable("Mu").Value).Data = value; } 40 } 41 public double Sigma { 42 get { return ((DoubleData)GetVariable("Sigma").Value).Data; } 43 set { ((DoubleData)GetVariable("Sigma").Value).Data = value; } 35 44 } 36 45 -
trunk/sources/HeuristicLab.Random/UniformRandomizer.cs
r2 r426 32 32 public override string Description { 33 33 get { return "Initializes the value of variable 'Value' to a random value uniformly distributed between 'Min' and 'Max' (exclusive)"; } 34 } 35 36 public double Max { 37 get { return ((DoubleData)GetVariable("Max").Value).Data; } 38 set { ((DoubleData)GetVariable("Max").Value).Data = value; } 39 } 40 public double Min { 41 get { return ((DoubleData)GetVariable("Min").Value).Data; } 42 set { ((DoubleData)GetVariable("Min").Value).Data = value; } 34 43 } 35 44
Note: See TracChangeset
for help on using the changeset viewer.