Changeset 5178 for branches/ParallelEngine/HeuristicLab.Random
- Timestamp:
- 12/28/10 01:44:33 (14 years ago)
- Location:
- branches/ParallelEngine/HeuristicLab.Random/3.3
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ParallelEngine/HeuristicLab.Random/3.3/NormalRandomizer.cs
r5177 r5178 81 81 /// Generates a new normally distributed random variable and assigns it to the specified variable. 82 82 /// </summary> 83 public override IOperation Apply( IExecutionContext context) {83 public override IOperation Apply() { 84 84 IRandom random = RandomParameter.ActualValue; 85 85 double mu = MuParameter.ActualValue.Value; -
branches/ParallelEngine/HeuristicLab.Random/3.3/RandomCreator.cs
r5177 r5178 88 88 } 89 89 90 public override IOperation Apply( IExecutionContext context) {90 public override IOperation Apply() { 91 91 if (SetSeedRandomlyParameter.ActualValue == null) SetSeedRandomlyParameter.ActualValue = new BoolValue(true); 92 92 bool setSeedRandomly = SetSeedRandomlyParameter.ActualValue.Value; … … 99 99 RandomParameter.ActualValue = random; 100 100 101 return base.Apply( context);101 return base.Apply(); 102 102 } 103 103 } -
branches/ParallelEngine/HeuristicLab.Random/3.3/UniformRandomizer.cs
r5177 r5178 83 83 /// Generates a new uniformly distributed random variable. 84 84 /// </summary> 85 public override IOperation Apply( IExecutionContext context) {85 public override IOperation Apply() { 86 86 IRandom random = RandomParameter.ActualValue; 87 87 double min = MinParameter.ActualValue.Value;
Note: See TracChangeset
for help on using the changeset viewer.