- Timestamp:
- 02/19/10 06:19:16 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Operators/3.3/ParallelSubScopesProcessor.cs
r2830 r2834 33 33 } 34 34 35 public override I ExecutionSequenceApply() {36 ExecutionContextCollection next = new ExecutionContextCollection(base.Apply());35 public override IOperation Apply() { 36 OperationCollection next = new OperationCollection(base.Apply()); 37 37 if (Operators.Count > 0) { 38 ExecutionContextCollection inner = new ExecutionContextCollection();38 OperationCollection inner = new OperationCollection(); 39 39 inner.Parallel = true; 40 40 for (int i = 0; (i < ExecutionContext.Scope.SubScopes.Count) && (i < Operators.Count); i++) 41 if (Operators[i] != null) inner.Add(ExecutionContext.Create Context(Operators[i], ExecutionContext.Scope.SubScopes[i]));41 if (Operators[i] != null) inner.Add(ExecutionContext.CreateOperation(Operators[i], ExecutionContext.Scope.SubScopes[i])); 42 42 next.Insert(0, inner); 43 43 }
Note: See TracChangeset
for help on using the changeset viewer.