Bellman-Ford_worst-case_example.svg
Size of this PNG preview of this SVG file:
534 × 572 pixels
.
Other resolutions:
224 × 240 pixels
|
448 × 480 pixels
|
717 × 768 pixels
|
956 × 1,024 pixels
|
1,912 × 2,048 pixels
.
Summary
Description Bellman-Ford worst-case example.svg |
English:
A worst-case example graph for Bellman-Ford algorithm, a simple path with 5 vertices. Assuming that the source is A and the edges are processed from right to left, it will take |V| - 1 or 4 iterations for the minimum distances (labelled below each node) to fully converge. Conversely, if the edges are processed from left to right, it will converge in a single iteration, and the diagram can be interpreted to mean how the estimates change after examining each edge.
|
Date | |
Source | Own work |
Author | User:Dcoetzee |
Licensing
I, the copyright holder of this work, hereby publish it under the following license:
This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication . | |
The person who associated a work with this deed has dedicated the work to the
public domain
by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.
http://creativecommons.org/publicdomain/zero/1.0/deed.en CC0 Creative Commons Zero, Public Domain Dedication false false |