- Timestamp:
- 02/10/10 03:39:02 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Operators/3.3/UniformParallelSubScopesProcessor.cs
r2757 r2773 35 35 [Creatable("Test")] 36 36 [EmptyStorableClass] 37 public sealed class UniformParallelSubScopesProcessor : SingleSuccessorOperator { 38 private OperatorParameter OperatorParameter { 39 get { return (OperatorParameter)Parameters["Operator"]; } 40 } 41 public IOperator Operator { 42 get { return OperatorParameter.Value; } 43 set { OperatorParameter.Value = value; } 44 } 45 37 public sealed class UniformParallelSubScopesProcessor : SingleCallOperator { 46 38 public UniformParallelSubScopesProcessor() 47 39 : base() { 40 Parameters.Remove("Operator"); 48 41 Parameters.Add(new OperatorParameter("Operator", "The operator which should be applied on all sub-scopes of the current scope in parallel.")); 49 42 } 50 43 51 public override IExecution ContextApply() {44 public override IExecutionSequence Apply() { 52 45 ExecutionContextCollection next = new ExecutionContextCollection(base.Apply()); 53 46 if (Operator != null) {
Note: See TracChangeset
for help on using the changeset viewer.