/** Add the score of all functions. */ @Override public double getScore() { double score = 0.0; for (BasicScoring basicScoringFunction : basicScoringFunctions) { double contribution = basicScoringFunction.getScore(); // if (log.isTraceEnabled()) { // log.trace("Contribution of scoring function: " + // basicScoringFunction.getClass().getName() + " is: " + contribution); // } score += contribution; } return score; }
@Override public void finish() { for (BasicScoring basicScoringFunction : basicScoringFunctions) { basicScoringFunction.finish(); } }