Returns the distance between n1 and n2.
n1
n2
Distance is determined by each implementation of Graph, and is not guranteed to be the euclidean distance between n1 and n2.
double distance(Node n1, Node n2);