Bellman Ford vs Dijkstra

60 Views Asked by At

I have some confusions related to the application of Dijkstra and Bellman Ford algorithms.

Can Bellman Ford be used on undirected graph, or it is only for directed ones? I recognize it because most books apply them whenever I encounter a digraph.

1

There are 1 best solutions below

0
On

See page 128 of this book. There's no reason for anyone to retype it.