- Timestamp:
- 12/26/10 03:51:30 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ParallelEngine/HeuristicLab.Operators/3.3/UniformSubScopesProcessor.cs
r4722 r5177 74 74 } 75 75 76 public override IOperation Apply( ) {77 OperationCollection next = new OperationCollection(base.Apply( ));76 public override IOperation Apply(IExecutionContext context) { 77 OperationCollection next = new OperationCollection(base.Apply(context)); 78 78 if (Operator != null) { 79 List<IScope> scopes = GetScopesOnLevel( ExecutionContext.Scope, Depth.Value).ToList();79 List<IScope> scopes = GetScopesOnLevel(context.Scope, Depth.Value).ToList(); 80 80 OperationCollection inner = new OperationCollection(); 81 81 inner.Parallel = Parallel == null ? false : Parallel.Value; 82 82 for (int i = 0; i < scopes.Count; i++) { 83 inner.Add( ExecutionContext.CreateOperation(Operator, scopes[i]));83 inner.Add(context.CreateOperation(Operator, scopes[i])); 84 84 } 85 85 next.Insert(0, inner);
Note: See TracChangeset
for help on using the changeset viewer.