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/UniformSequentialSubScopesProcessor.cs

    r1530 r2027  
    4242    /// <param name="scope">The scope on whose sub scopes the operator is applied.</param>
    4343    /// <returns>A new <see cref="CompositeOperation"/> with one operator and all sub scopes.</returns>
    44     public override IOperation Apply(IScope scope) {
     44    public override IOperation Apply(IEnvironment env, IScope scope) {
    4545      CompositeOperation next = new CompositeOperation();
    4646      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]));
    4848      return next;
    4949    }
Note: See TracChangeset for help on using the changeset viewer.