/*
* Set roots and fill result-beans of the Multiplication- and Sum-Trees.
*/
if (this.selectedPlan.getState().getValue() >= PlanState.TRANSFORMATION_DEFINED) {
multNode = new ResultNode(selectedPlan.getTree().getRoot(),
new WeightedMultiplication(), selectedPlan.getAlternativesDefinition().getConsideredAlternatives());
for (Alternative a: this.selectedPlan.getAlternativesDefinition().getConsideredAlternatives()) {
Double d= multNode.getResults().get(a.getName());
if (d > 0.0) {
this.acceptableAlternatives.add(a);
}
}
sumNode = new ResultNode(selectedPlan.getTree().getRoot(),
sumAggregator,
selectedPlan.getAlternativesDefinition().getConsideredAlternatives());
}
this.recommendationAlternatives = new String[acceptableAlternatives.size()];