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