virtual double getDistanceToFather(int nodeId) const { return getNode(nodeId) -> getDistanceToFather(); }
double getDistanceToFather(int nodeId) const throw (NodeNotFoundException) { return getNode(nodeId) -> getDistanceToFather(); }
		virtual double getDistanceToFather(int nodeId) const { return getNode(nodeId) -> getDistanceToFather(); }