title: What is the basic difference between Bellman-ford and Floyd warshall algorithm?
body: <p>I just have one confusion that is it that in case of Bellman-ford we run it for n-1 times, which is no of edges while in Floyd warshall algorithm, we run it n times at each stage, so is it that we are excluding the source vertex in case of Bellman-ford and thats why we are running it for n-1 times, I am a bit confused in this with n and n-1, please clarify this.</p>