Returns the distance between n1
and n2
.
Distance is determined by each implementation of Graph,
and is not guranteed to be the euclidean distance between n1
and n2
.
Source
double distance(PointNode n1, PointNode n2) {
return this.heuristic(n1, n2);
}