The only difference between the two of these algorithm's is the person who invented the steps to solving the problems. The disadvantage to both of these are that they are very complex and hard to solve. The advantage is that using these methods can solve math problems that were unsolvable before this strategy was founded.
The Bellman-Ford algorithm computes single-source shortest paths in a weighted digraph.For graphs with only non-negative edge weights, the faster Dijkstra's algorithm also solves the problem. Thus, Bellman-Ford is used primarily for graphs with negative edge weights. The algorithm is named after its developers, Richard Bellman and Lester Ford, Jr.
The answer is the solution to the problem so you are about to solve it with an answer which is the solution. Did you get that?A solution is:"A means of solving a problem or dealing with a difficult situation.The correct answer to a puzzle."When specific to maths, a solution is an answer that fulfills certain criteria, or solves a specific problem. If you have found a solution you have found an answer to the question that works in every case. NOT NECESSARILY A NUMBERA number is even and prime. If you say 8, you have not found a solution because although 8 is even, it is not prime. 2 however is a solution because 2 is both even and prime (the only even prime)One problem can, however, have multiple solutions. If you write the equation:x+3=4you can solve to give x=1.But if you write:x2=4it solves to give x= ±2 (+2 OR -2)When doing applied maths, eg. like Dijkstra's algorithm the solution will be the shortest route from node A to node B. This is not a number, but a pathway.
dijkstra's algorithm (note* there are different kinds of dijkstra's implementation) and growth graph algorithm
Dijkstra's algorithm is used by the OSPF and the IS-IS routing protocols. The last three letters in OSPF (SPF) mean "shortest path first", which is an alternative name for Dijkstra's algorithm.
Main disadvantages:The major disadvantage of the algorithm is the fact that it does a blind searchthere by consuming a lot of time waste of necessary resources.Another disadvantage is that it cannot handle negative edges. This leads toacyclic graphs and most often cannot obtain the right shortest path.
Dijkstra's original algorithm (published in 1959) has a time-complexity of O(N*N), where N is the number of nodes.
Dijkstra's algorithm has importance when you are trying to find the shortest path between two points. It's used in the computer networking field where routing protocols, like OSPF, uses it to find the shortest path between routers. http://en.wikipedia.org/wiki/Dijkstra%27s_algorithm
No, Dijkstra's algorithm can not be used when there are negative arc lengths. In Dijkstra's, the vertex that can be reached from the current set of labeled vertices and that of having the minimum weight among the alternatives is permanently labeled in that iteration. Since a negative arc weight would result in changing the label of a pre-permanently-labeled vertex, the algo collapses. Bellman's algorithm is used with negative arc lengths.
Dijkstra
yes, but a shortest path tree, not a minimum spanning tree
A practical application is in certain routing protocols, like OSPF. The problem it solves is to search for the "shortest" path to each destination - "shortest" meaning the one that has the lowest "distance" or "metric" according to the criteria used. Dijkstra's algorithm is easy to use and is a good graph search algorithm to use when it is hard to calculate the heuristics.
"OSPF detects changes in the topology, such as link failures, very quickly and converges on a new loop-free routing structure within seconds. It computes the shortest path tree for each route using a method based on Dijkstra's algorithm, a shortest path first algorithm."
Dijkstra doesn't support negative weight-age, Floyd support negative edges but no negative cycles. Dijkstra running time is v2 and Floyd has v3.Dijkstra is fast compared to Floyd, because only find the shortest path for single node. FloydSlow as compared to Dijkstra.
The Reverse Delete Algorithm for finding the Minimum Spanning Tree was first introduced by Edsger Dijkstra in 1959. He presented this algorithm in his paper titled "A note on two problems in connexion with graphs" which was published in Numerische Mathematik.