double heuristic(Node n1, Node n2)

Returns the heuristic distance estimate between n1 and n2.

Source

double heuristic(Node n1, Node n2);