" Dijkstra works when distance/cost is monotonic i.e all positive edges or all negative edges. But there shouldn't be any negative cycles "
can some make me understand the negative edges part , Thanks :D
Help needed in Dijkstra
" Dijkstra works when distance/cost is monotonic i.e all positive edges or all negative edges. But there shouldn't be any negative cycles "
can some make me understand the negative edges part , Thanks :D
| Rev. | Lang. | By | When | Δ | Comment | |
|---|---|---|---|---|---|---|
| en1 |
|
I-dont-know-FFT | 2023-01-04 14:15:01 | 237 | Initial revision (published) |