}
@Override
public void addParent(Node parent) throws InvalidParentException {
if (parent.getType() != Node.PROBABILISTIC_NODE_TYPE && parent.getType() != Node.CONTINUOUS_NODE_TYPE) {
throw new InvalidParentException(resource.getString("continuousNodeInvalidParentException"));
}
super.addParent(parent);
cnNormalDistribution.refreshParents();
}