Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/26/10 03:51:30 (14 years ago)
Author:
swagner
Message:

Removed property ExecutionContext in Operator (#1333)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ParallelEngine/HeuristicLab.Operators/3.3/UniformSubScopesProcessor.cs

    r4722 r5177  
    7474    }
    7575
    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));
    7878      if (Operator != null) {
    79         List<IScope> scopes = GetScopesOnLevel(ExecutionContext.Scope, Depth.Value).ToList();
     79        List<IScope> scopes = GetScopesOnLevel(context.Scope, Depth.Value).ToList();
    8080        OperationCollection inner = new OperationCollection();
    8181        inner.Parallel = Parallel == null ? false : Parallel.Value;
    8282        for (int i = 0; i < scopes.Count; i++) {
    83           inner.Add(ExecutionContext.CreateOperation(Operator, scopes[i]));
     83          inner.Add(context.CreateOperation(Operator, scopes[i]));
    8484        }
    8585        next.Insert(0, inner);
Note: See TracChangeset for help on using the changeset viewer.