}
ratingsString += "\n";
}
ratingsString += "\n";
calculators.put("max", new MaxCalculator(leafElementsGoalLayer,
getCacheManager()));
calculators.put("min", new MinCalculator(leafElementsGoalLayer,
getCacheManager()));
calculators.put("avg", new AvgCalculator(leafElementsGoalLayer,
getCacheManager()));
if (!getCacheManager().getSelectedGoals().isEmpty()) {
calculators.put("weighted max", new WeightedMaxCalculator(
leafElementsGoalLayer, getCacheManager()));
calculators.put("weighted min", new WeightedMinCalculator(
leafElementsGoalLayer, getCacheManager()));
calculators.put("weighted avg", new WeightedAvgCalculator(
leafElementsGoalLayer, getCacheManager()));
}
if (element instanceof SolutionInstrument) {
calculators.put("max", new MaxCalculator(
leafElementsPrincipleLayer, getCacheManager()));
calculators.put("min", new MinCalculator(
leafElementsPrincipleLayer, getCacheManager()));
calculators.put("avg", new AvgCalculator(
leafElementsPrincipleLayer, getCacheManager()));