Content deleted Content added
Restore indentation on pseudocode examples |
Salix alba (talk | contribs) m →Dynamic programming perspective: change <math> to {{mvar}} to workaround bug https://phabricator.wikimedia.org/T382267 |
||
Line 202:
In fact, Dijkstra's explanation of the logic behind the algorithm:{{sfn|Dijkstra|1959|p=270}}
{{blockquote|'''Problem 2.''' Find the path of minimum total length between two given nodes
We use the fact that, if
is a paraphrasing of [[Richard Bellman|Bellman's]] [[Bellman equation#Bellman's principle of optimality|Principle of Optimality]] in the context of the shortest path problem.
|