droolsjbpm/optaplanner — pull request #20 by msvitok (2013-05-31 14:14:33+00:00)
Title: PLANNER-56 Standard deviation is shown in the best score table

First, I have tested the approach B) (as stated https://issues.jboss.org/browse/PLANNER-56) but as you said,there was an overflow. So I did it the inferior way. Unfortunately, I cannot put an array of doubles back to Score since there is no useful method for that in the Score interface.

For returning Score, I tried to ScoreDefinition.parseScore() as well. But it couldn't be used because it subsequently calls particular Score.parseScore() function and it requires the String in a format a "999hard/999soft" (with labels).

Now, the result is returned as String in getScoreStandardDeviation() method and displayed in the report (as levels separated by "/"). Are you OK with that?