for (Leaf l : selectedPlan.getTree().getRoot().getAllLeaves()) {
HashMap<String,Double> map = new HashMap<String,Double>();
for (Alternative a: selectedPlan.getAlternativesDefinition().getConsideredAlternatives()) {
map.put(a.getName(), l.getResult(a));
}
ResultMap m = new ResultMap();
m.setResults(map);
results.put(l,m);
}
resetFocus();
}