Commit fc7ae36a authored by TLauster's avatar TLauster
Browse files

always use new Notation for Targets

parent ae27301e
......@@ -181,14 +181,8 @@ public class SourceController {
// might add some.
List<Integer> targets = targetDistribution.returnTargets(sourceAttributes.getTargetDistributionIds(),sourceAttributes.getTargetDistributionProbabilities());
//List<Integer> targets = targetDistribution.returnTargets(targetDistribution.targetIds(), targetDistribution.getDistributions().get(1));
newElement.setTargets(new LinkedList<>(targets));
if (newElement.getTargets().isEmpty()) {
newElement.setTargets(new LinkedList<>(sourceAttributes.getTargetIds()));
}
topography.addElement(newElement);
return newElement;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment