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

    r1530 r2027  
    4242    /// <returns>A new <see cref="CompositeOperation"/> with the <c>n</c> operators applied
    4343    /// to the given <paramref name="scope"/>.</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 < SubOperators.Count; i++)
    47         next.AddOperation(new AtomicOperation(SubOperators[i], scope));
     47        next.AddOperation(new AtomicOperation(SubOperators[i], env, scope));
    4848      return next;
    4949    }
Note: See TracChangeset for help on using the changeset viewer.