3 ms·
In a use case where you don't actually need a shortest path? Or if you know the path will be a constant numbers of edges, I guess, otherwise adding weights wou
by Evbn 14y ago
In a use case where you don't actually need a shortest path?
Or if you know the path will be a constant numbers of edges, I guess, otherwise adding weights would bias the algorithm toward fewer hops.