- Timestamp:
- 12/26/10 03:51:30 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ParallelEngine/HeuristicLab.Analysis/3.3/BestScopeSolutionAnalyzer.cs
r4722 r5177 74 74 } 75 75 76 public override IOperation Apply( ) {76 public override IOperation Apply(IExecutionContext context) { 77 77 ItemArray<DoubleValue> qualities = QualityParameter.ActualValue; 78 78 ResultCollection results = ResultsParameter.ActualValue; … … 85 85 else i = qualities.Select((x, index) => new { index, x.Value }).OrderByDescending(x => x.Value).First().index; 86 86 87 IEnumerable<IScope> scopes = new IScope[] { ExecutionContext.Scope };87 IEnumerable<IScope> scopes = new IScope[] { context.Scope }; 88 88 for (int j = 0; j < QualityParameter.Depth; j++) 89 89 scopes = scopes.Select(x => (IEnumerable<IScope>)x.SubScopes).Aggregate((a, b) => a.Concat(b)); … … 115 115 } 116 116 117 return base.Apply( );117 return base.Apply(context); 118 118 } 119 119 }
Note: See TracChangeset
for help on using the changeset viewer.