This is exactly what I said (breadth-first). Breadth first find shortest distances to all nodes in the neighbourhood.
This is exactly what I said (breadth-first). Breadth first find shortest distances to all nodes in the neighbourhood.