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.Optimization.Operators/3.3/UserDefinedOperator.cs

    r4722 r5177  
    3535    public UserDefinedOperator() : base() { }
    3636
    37     public override IOperation Apply() {
     37    public override IOperation Apply(IExecutionContext context) {
    3838      OperationCollection result = new OperationCollection();
    3939      foreach (IOperator op in Operators.CheckedItems.OrderBy(x => x.Index).Select(x => x.Value)) {
    40         result.Add(ExecutionContext.CreateOperation(op));
     40        result.Add(context.CreateOperation(op));
    4141      }
    42       result.Add(base.Apply());
     42      result.Add(base.Apply(context));
    4343      return result;
    4444    }
Note: See TracChangeset for help on using the changeset viewer.