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/MultiObjective/FastNonDominatedSort.cs

    r5143 r5177  
    6161    }
    6262
    63     public override IOperation Apply() {
     63    public override IOperation Apply(IExecutionContext context) {
    6464      BoolArray maximization = MaximizationParameter.ActualValue;
    6565      ItemArray<DoubleArray> qualities = QualitiesParameter.ActualValue;
    6666      if (qualities == null) throw new InvalidOperationException(Name + ": No qualities found.");
    6767
    68       IScope scope = ExecutionContext.Scope;
     68      IScope scope = context.Scope;
    6969      int populationSize = scope.SubScopes.Count;
    7070
     
    131131          scope.SubScopes.Add(frontScope);
    132132      }
    133       return base.Apply();
     133      return base.Apply(context);
    134134    }
    135135
Note: See TracChangeset for help on using the changeset viewer.