Changeset 1167 for trunk/sources/HeuristicLab.Operators.Metaprogramming
- Timestamp:
- 01/22/09 12:06:29 (16 years ago)
- Location:
- trunk/sources/HeuristicLab.Operators.Metaprogramming
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified 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; -
TabularUnified trunk/sources/HeuristicLab.Operators.Metaprogramming/HeuristicLab.Operators.Metaprogramming.csproj ¶
r852 r1167 4 4 <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> 5 5 <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> 6 <ProductVersion>9.0. 30729</ProductVersion>6 <ProductVersion>9.0.21022</ProductVersion> 7 7 <SchemaVersion>2.0</SchemaVersion> 8 8 <ProjectGuid>{F18FD554-19B9-460C-9A49-4AA8D7245727}</ProjectGuid> … … 32 32 <ErrorReport>prompt</ErrorReport> 33 33 <WarningLevel>4</WarningLevel> 34 <DocumentationFile>bin\Release\HeuristicLab.Operators.Metaprogramming-3.2.XML</DocumentationFile> 34 35 </PropertyGroup> 35 36 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> -
TabularUnified trunk/sources/HeuristicLab.Operators.Metaprogramming/HeuristicLabOperatorsMetaprogrammingPlugin.cs ¶
r582 r1167 26 26 27 27 namespace HeuristicLab.Operators.Metaprogramming { 28 /// <summary> 29 /// Plugin class for HeuristicLab.Operators.Metaprogramming plugin. 30 /// </summary> 28 31 [ClassInfo(Name = "HeuristicLab.Operators.Metaprogramming-3.2")] 29 32 [PluginFile(Filename = "HeuristicLab.Operators.Metaprogramming-3.2.dll", Filetype = PluginFileType.Assembly)] -
TabularUnified trunk/sources/HeuristicLab.Operators.Metaprogramming/IntRangeVariableInjector.cs ¶
r489 r1167 28 28 29 29 namespace HeuristicLab.Operators.Metaprogramming { 30 /// <summary> 31 /// Injects a new integer variable into the current scope being in a specified range. 32 /// </summary> 30 33 public class IntRangeVariableInjector: 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="IntRangeVariableInjector"/> with four variable infos 41 /// (<c>VariableInjector</c>, <c>VariableName</c>, <c>Min</c> and <c>Max</c>). 42 /// </summary> 35 43 public IntRangeVariableInjector() 36 44 : base() { … … 41 49 } 42 50 51 /// <summary> 52 /// Injects a new integer variable in the given <paramref name="scope"/>. 53 /// </summary> 54 /// <param name="scope">The current scope where to inject the variable.</param> 55 /// <returns><c>null</c>.</returns> 43 56 public override IOperation Apply(IScope scope) { 44 57 int min = GetVariableValue<IntData>("Min", scope, true).Data; -
TabularUnified 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; -
TabularUnified trunk/sources/HeuristicLab.Operators.Metaprogramming/SequentialComposer.cs ¶
r509 r1167 28 28 29 29 namespace HeuristicLab.Operators.Metaprogramming { 30 /// <summary> 31 /// Composes a sequence of <see cref="IOperatorGraph"/>s and injects it into the given scope. 32 /// </summary> 30 33 public class SequentialComposer: 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="SequentialComposer"/> with two variable infos 41 /// (<c>CombineOperator</c> and <c>OperatorNames</c>). 42 /// </summary> 35 43 public SequentialComposer() 36 44 : base() { … … 39 47 } 40 48 49 /// <summary> 50 /// Composes a sequence <see cref="IOperatorGraph"/>s and injects it into the given <paramref name="scope"/>. 51 /// </summary> 52 /// <param name="scope">The current scope where to inject the created sequence of operators.</param> 53 /// <returns><c>null</c>.</returns> 41 54 public override IOperation Apply(IScope scope) { 42 55 ItemList<StringData> parts = GetVariableValue<ItemList<StringData>>("OperatorNames", scope, true);
Note: See TracChangeset
for help on using the changeset viewer.