Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/19/10 06:19:16 (14 years ago)
Author:
swagner
Message:

Operator architecture refactoring (#95)

  • worked on operators, engines, and optimization
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Operators/3.3/ParallelSubScopesProcessor.cs

    r2830 r2834  
    3333    }
    3434
    35     public override IExecutionSequence Apply() {
    36       ExecutionContextCollection next = new ExecutionContextCollection(base.Apply());
     35    public override IOperation Apply() {
     36      OperationCollection next = new OperationCollection(base.Apply());
    3737      if (Operators.Count > 0) {
    38         ExecutionContextCollection inner = new ExecutionContextCollection();
     38        OperationCollection inner = new OperationCollection();
    3939        inner.Parallel = true;
    4040        for (int i = 0; (i < ExecutionContext.Scope.SubScopes.Count) && (i < Operators.Count); i++)
    41           if (Operators[i] != null) inner.Add(ExecutionContext.CreateContext(Operators[i], ExecutionContext.Scope.SubScopes[i]));
     41          if (Operators[i] != null) inner.Add(ExecutionContext.CreateOperation(Operators[i], ExecutionContext.Scope.SubScopes[i]));
    4242        next.Insert(0, inner);
    4343      }
Note: See TracChangeset for help on using the changeset viewer.