max Distance
Retrieves the maximum distance from the starting node to any other node of the most recent search operation (BFS, Dijkstra).
If no search has been performed or a node cannot be reached, the function returns Double.MAX_VALUE.
Return
The maximum distance to any node.