Changeset 16613 for branches/2989_MovingPeaksBenchmark/HeuristicLab.Problems.MovingPeaksBenchmark/3.3/Analyzers
- Timestamp:
- 02/17/19 22:56:09 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2989_MovingPeaksBenchmark/HeuristicLab.Problems.MovingPeaksBenchmark/3.3/Analyzers/BestMovingPeaksBenchmarkSolutionAnalyzer.cs
r16611 r16613 102 102 else i = qualities.Select((x, index) => new { index, x.Value }).OrderByDescending(x => x.Value).First().index; 103 103 104 if (bestKnownQuality == null ||105 max && qualities[i].Value > bestKnownQuality.Value106 || !max && qualities[i].Value < bestKnownQuality.Value) {107 BestKnownQualityParameter.ActualValue = new DoubleValue(qualities[i].Value);108 BestKnownSolutionParameter.ActualValue = (RealVector)realVectors[i].Clone();109 }110 111 104 RealVector best = (RealVector)realVectors[i].Clone(); 112 105 RealVector bestKnown = (RealVector)BestKnownSolutionParameter.ActualValue.Clone();
Note: See TracChangeset
for help on using the changeset viewer.