Changeset 3901
- Timestamp:
- 06/07/10 14:54:55 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Analysis/3.3/BestScopeSolutionAnalyzer.cs
r3872 r3901 71 71 DoubleValue bestKnownQuality = BestKnownQualityParameter.ActualValue; 72 72 73 int i = qualities.Select((x, index) => new { index, x.Value }).OrderBy(x => x.Value).First().index; 73 int i = -1; 74 if (!max) 75 i = qualities.Select((x, index) => new { index, x.Value }).OrderBy(x => x.Value).First().index; 76 else i = qualities.Select((x, index) => new { index, x.Value }).OrderByDescending(x => x.Value).First().index; 74 77 75 78 IEnumerable<IScope> scopes = new IScope[] { ExecutionContext.Scope };
Note: See TracChangeset
for help on using the changeset viewer.