Changeset 2027 for branches/Operator Architecture Refactoring/HeuristicLab.Operators/3.2/UniformParallelSubScopesProcessor.cs
- Timestamp:
- 06/06/09 02:09:35 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Operator Architecture Refactoring/HeuristicLab.Operators/3.2/UniformParallelSubScopesProcessor.cs
r1530 r2027 43 43 /// <returns>A new <see cref="CompositeOperation"/> with one operator and all sub scopes and 44 44 /// the <c>ExecuteInParallel</c> flag set to <c>true</c>.</returns> 45 public override IOperation Apply(I Scope scope) {45 public override IOperation Apply(IEnvironment env, IScope scope) { 46 46 CompositeOperation next = new CompositeOperation(); 47 47 next.ExecuteInParallel = true; 48 48 for (int i = 0; i < scope.SubScopes.Count; i++) 49 next.AddOperation(new AtomicOperation(SubOperators[0], scope.SubScopes[i]));49 next.AddOperation(new AtomicOperation(SubOperators[0], env, scope.SubScopes[i])); 50 50 return next; 51 51 }
Note: See TracChangeset
for help on using the changeset viewer.