answersLogoWhite

0

Yes they will yield the same result.

But this is iif they have the same topology . That is if the topology remains the same 100% chances to yield the same result

But if the topology differs. That is both have diff topology they will not yield the same result in most of the cases.

This is a good debatable question. If you see the differences in the algorithms , one is distance vector and one is link state.

all i can say is if the n/w large , then bellman Ford will not converge soon. So for large n/ws Dijkstras is preferred.

But for smaller n/ws Bellman is preferred because its based on Distance/hops.

So in short they will yield same results if the topology is the same, But if the topology differs it can be found out by checking the algorithms flow chart.

And if there is any negetive weights Bellman will converge soner than Dijkstras.

I hope this should answer your question. Good question btw but no defined answer for this one. Hpe this was Helpful.

User Avatar

Wiki User

13y ago

Still curious? Ask our experts.

Chat with our AI personalities

SteveSteve
Knowledge is a journey, you know? We'll get there.
Chat with Steve
JudyJudy
Simplicity is my specialty.
Chat with Judy
BlakeBlake
As your older brother, I've been where you are—maybe not exactly, but close enough.
Chat with Blake

Add your answer:

Earn +20 pts
Q: Will dijkstra and bellman ford algorithm yields same solution?
Write your answer...
Submit
Still have questions?
magnify glass
imp