Changeset 1153 for trunk/sources/HeuristicLab.Random/RandomInjector.cs
- Timestamp:
- 01/16/09 11:24:03 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Random/RandomInjector.cs
r77 r1153 29 29 30 30 namespace HeuristicLab.Random { 31 /// <summary> 32 /// Injects a random variable in a given scope. 33 /// </summary> 31 34 public class RandomInjector : OperatorBase { 35 /// <inheritdoc select="summary"/> 32 36 public override string Description { 33 37 get { return @"TODO\r\nOperator description still missing ..."; } 34 38 } 35 39 40 /// <summary> 41 /// Initializes a new instance of <see cref="RandomInjector"/> with three variable infos 42 /// (<c>SetSeedRandomly</c>, <c>Seed</c> and <c>Random</c>.) 43 /// </summary> 36 44 public RandomInjector() 37 45 : base() { … … 48 56 } 49 57 58 /// <summary> 59 /// Injects a new random variable in the given <paramref name="scope"/> . 60 /// </summary> 61 /// <param name="scope">The scope where to inject the variable.</param> 62 /// <returns>null.</returns> 50 63 public override IOperation Apply(IScope scope) { 51 64 bool setRandomly = GetVariableValue<BoolData>("SetSeedRandomly", scope, true).Data;
Note: See TracChangeset
for help on using the changeset viewer.