Skip to content

Commit

Permalink
PLANNER-473 Don't mix median and average score
Browse files Browse the repository at this point in the history
  • Loading branch information
ge0ffrey committed Nov 4, 2015
1 parent 2c53fd8 commit e9044d1
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -94,7 +94,7 @@ public void writeGraphFiles(BenchmarkReport benchmarkReport) {
// TODO if startingSolution is initialized and no improvement is made, a horizontal line should be shown
// Draw a horizontal line from the last new best step to how long the solver actually ran
long timeMillisSpent = singleBenchmarkResult.getTimeMillisSpent();
double[] bestScoreLevels = ScoreUtils.extractLevelDoubles(singleBenchmarkResult.getAverageScore());
double[] bestScoreLevels = ScoreUtils.extractLevelDoubles(singleBenchmarkResult.getMedian().getScore());
for (int i = 0; i < bestScoreLevels.length && i < BenchmarkReport.CHARTED_SCORE_LEVEL_SIZE; i++) {
if (i >= seriesList.size()) {
seriesList.add(new XYSeries(
Expand Down

0 comments on commit e9044d1

Please sign in to comment.