Changeset 2027 for branches/Operator Architecture Refactoring/HeuristicLab.Operators/3.2/UniformSequentialSubScopesProcessor.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/UniformSequentialSubScopesProcessor.cs
r1530 r2027 42 42 /// <param name="scope">The scope on whose sub scopes the operator is applied.</param> 43 43 /// <returns>A new <see cref="CompositeOperation"/> with one operator and all sub scopes.</returns> 44 public override IOperation Apply(I Scope scope) {44 public override IOperation Apply(IEnvironment env, IScope scope) { 45 45 CompositeOperation next = new CompositeOperation(); 46 46 for (int i = 0; i < scope.SubScopes.Count; i++) 47 next.AddOperation(new AtomicOperation(SubOperators[0], scope.SubScopes[i]));47 next.AddOperation(new AtomicOperation(SubOperators[0], env, scope.SubScopes[i])); 48 48 return next; 49 49 }
Note: See TracChangeset
for help on using the changeset viewer.