Skip to content
EntityQ816022· pop 30· linked from 173 articles

الگوریتم بلمن–فورد

Sign in to save

Also known as Bellman–Ford–Moore algorithm, Bellman-Ford equation, distance-vector routing algorithm

algorithm for finding single-source shortest paths in graphs, allowing some edge weights to be negative

Key facts

Class
Single-source shortest path problem (for weighted directed graphs)
Data structure
Graph
Worst case performance
Θ ( | V | | E | ) {\displaystyle \Theta (|V||E|)}
Best case performance
Θ ( | E | ) {\displaystyle \Theta (|E|)}
Worst case space complexity
Θ ( | V | ) {\displaystyle \Theta (|V|)}

via Wikipedia infobox