BFS from every node; pairs with no path are assigned
UNREACHABLE so they can take a special bias rather than
producing NaNs downstream.
BFS from every node; pairs with no path are assigned
UNREACHABLE so they can take a special bias rather than
producing NaNs downstream.