Changeset 1167 for trunk/sources/HeuristicLab.Operators.Metaprogramming/DoubleRangeVariableInjector.cs
- Timestamp:
- 01/22/09 12:06:29 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Operators.Metaprogramming/DoubleRangeVariableInjector.cs
r466 r1167 28 28 29 29 namespace HeuristicLab.Operators.Metaprogramming { 30 /// <summary> 31 /// Injects a double variable into the current scope being in a specified range. 32 /// </summary> 30 33 public class DoubleRangeVariableInjector: OperatorBase { 34 /// <inheritdoc select="summary"/> 31 35 public override string Description { 32 36 get { return "TASK."; } 33 37 } 34 38 39 /// <summary> 40 /// Initializes a new instance of <see cref="DoubleRangeVariableInjector"/> with five variable infos 41 /// (<c>VariableInjectos</c>, <c>VariableName</c>, <c>Min</c>, <c>Max</c> and <c>StepSize</c>). 42 /// </summary> 35 43 public DoubleRangeVariableInjector() 36 44 : base() { … … 42 50 } 43 51 52 /// <summary> 53 /// Injects a new double variable in the given <paramref name="scope"/>. 54 /// </summary> 55 /// <param name="scope">The current scope where to inject the variable.</param> 56 /// <returns><c>null</c>.</returns> 44 57 public override IOperation Apply(IScope scope) { 45 58 double min = GetVariableValue<DoubleData>("Min", scope, true).Data;
Note: See TracChangeset
for help on using the changeset viewer.