Which path algorithm fits the edge weights?
StartNeed a shortest path?
InspectWhat are the weights?
Negative edgesBellman–FordRelax every edge V−1 times; a later relaxation reveals a negative cycle.
All pairs, small VFloyd–WarshallAfter phase k, distances may use only vertices 0…k as intermediates.
One target + heuristicA*Expand the smallest known cost plus an admissible remaining-cost bound.