answersLogoWhite

0


Best Answer

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
This answer is:
User Avatar

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
Related questions

Is there an algorithm that yields only prime numbers?

What exactly do you mean "yields only prime numbers"? If you mean a formula that when given the numbers n=1, 2, 3, ... and so on generates the nth prime number (or a different prime number for each n) then no. If you mean an algorithm whereby a number can be tested to be a prime number then yes. (Using this prime_test algorithm, a simple algorithm can be written that would supply numbers one at a time to it and use its result to decide whether to yield the tested number or not, only yielding those numbers which pass the test.)


What is a substance that yields a hydrogen ion when placed in a water solution called?

This substance is an acid.


What substance yields a hydrogen ion when placed in a water solution?

An acid is a substance that yields a hydrogen ion (H+) when placed in a water solution. Acids increase the concentration of hydrogen ions in a solution, leading to a decrease in pH. Examples of common acids include hydrochloric acid (HCl) and acetic acid (CH3COOH).


What is any substance which yields a hydrogen ion when placed in water solution is called?

An acidic substance.


Which hydroxide compound yields the lowest concentration of hydroxide ions in aqueous solution?

Aluminum hydroxide (Al(OH)3) yields the lowest concentration of hydroxide ions in aqueous solution due to its low solubility. This makes it a weak base compared to other hydroxide compounds.


What are the functions of algorithm?

A function is any relationship between inputs and outputs in which each input leads to exactly one output. It is possible for a function to have more than one input that yields the same output.


When dissolved in water an arrhenius base yields?

When dissolved in water, an Arrhenius base yields hydroxide ions (OH⁻) as the only negative ions in solution. This is because Arrhenius bases are substances that increase the concentration of hydroxide ions in aqueous solutions.


What does the word yields mean in math?

In mathematics, the term "yields" is often used to indicate the result or outcome of a calculation, equation, or process. It signifies what is produced or obtained as a consequence of a particular operation or set of operations. For example, when solving an equation, the solution that is obtained at the end of the process is what the equation "yields."


What is an algorithmic?

An algorithm is a detailed set of instructions rules which will enable a program to perform a specific action. It is a bit like a mathematical equivalent of a recipe for cooking a dish.A set of rules to be followed in problem solving operations - computers in particular


What are yields' accurate solution for measuring the acceleration of free fall by the simple pendulum method?

Welll u have to ur multiplication problems that is how u solve it eaasy


Why do farmers increase crop yields?

Higher yields = increased income.


Fertilizers have high yields?

no fertilizer help produce high yields