New answers tagged weighted-graphs
2
votes
Accepted
Other vertices on the shortest path between two specific vertices
Here are some ideas I think could work.
When applying Dijkstra's algorithm and after extracting a vertex $u$ from the priority queue, for each neighbour $v$ of $u$, it is usual to check if:
$$d(a, u) +...
Top 50 recent answers are included
Related Tags
weighted-graphs × 390graphs × 303
algorithms × 177
shortest-path × 85
graph-traversal × 46
minimum-spanning-tree × 45
optimization × 22
spanning-trees × 17
dijkstras-algorithm × 16
complexity-theory × 15
dag × 13
bipartite-matching × 12
dynamic-programming × 10
np-complete × 9
trees × 9
network-flow × 9
time-complexity × 8
approximation × 8
matching × 8
algorithm-analysis × 7
np-hard × 6
correctness-proof × 6
data-structures × 5
combinatorics × 5
traveling-salesman × 5