Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/06/09 02:09:35 (15 years ago)
Author:
swagner
Message:

Refactoring of the operator architecture (#95)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Operator Architecture Refactoring/HeuristicLab.Operators/3.2/UniformParallelSubScopesProcessor.cs

    r1530 r2027  
    4343    /// <returns>A new <see cref="CompositeOperation"/> with one operator and all sub scopes and
    4444    /// the <c>ExecuteInParallel</c> flag set to <c>true</c>.</returns>
    45     public override IOperation Apply(IScope scope) {
     45    public override IOperation Apply(IEnvironment env, IScope scope) {
    4646      CompositeOperation next = new CompositeOperation();
    4747      next.ExecuteInParallel = true;
    4848      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]));
    5050      return next;
    5151    }
Note: See TracChangeset for help on using the changeset viewer.