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.Analysis/3.3/BestScopeSolutionAnalyzer.cs

    r4722 r5177  
    7474    }
    7575
    76     public override IOperation Apply() {
     76    public override IOperation Apply(IExecutionContext context) {
    7777      ItemArray<DoubleValue> qualities = QualityParameter.ActualValue;
    7878      ResultCollection results = ResultsParameter.ActualValue;
     
    8585      else i = qualities.Select((x, index) => new { index, x.Value }).OrderByDescending(x => x.Value).First().index;
    8686     
    87       IEnumerable<IScope> scopes = new IScope[] { ExecutionContext.Scope };
     87      IEnumerable<IScope> scopes = new IScope[] { context.Scope };
    8888      for (int j = 0; j < QualityParameter.Depth; j++)
    8989        scopes = scopes.Select(x => (IEnumerable<IScope>)x.SubScopes).Aggregate((a, b) => a.Concat(b));
     
    115115      }
    116116
    117       return base.Apply();
     117      return base.Apply(context);
    118118    }
    119119  }
Note: See TracChangeset for help on using the changeset viewer.