Single source shortest paths: Difference between revisions
Jump to navigation
Jump to search
(Created page with "Category:Sorting Algorithms Category:Divide and Conquer <div class="plainlinks" style="float:right;margin:0 0 5px 5px; border:1px solid #AAAAAA; width:auto; padding:1e...") |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
< | == Input == | ||
# A directed graph <math>G=(V,A)</math> | |||
# an arc weight <math> l(a) \in \mathbb{R}</math> for each arc <math>a \in A</math> | |||
# a '''root node''' <math> s \in V </math> | |||
< | == Output == | ||
</ | For each <math>v \in V</math>, a real value <math>\delta (v)</math>, the '''length''' of a shortest <math>(s,v)</math>-path in <math>G</math> subject to <math>l</math> | ||
== | == Objective == | ||
N/A | |||
== Complexity == | == Complexity == | ||
Polynomial | |||
=== | == Known algorithms == | ||
[[Dijkstra]] | |||
== Known variants == |
Latest revision as of 10:32, 20 October 2014
Input
- A directed graph [math]\displaystyle{ G=(V,A) }[/math]
- an arc weight [math]\displaystyle{ l(a) \in \mathbb{R} }[/math] for each arc [math]\displaystyle{ a \in A }[/math]
- a root node [math]\displaystyle{ s \in V }[/math]
Output
For each [math]\displaystyle{ v \in V }[/math], a real value [math]\displaystyle{ \delta (v) }[/math], the length of a shortest [math]\displaystyle{ (s,v) }[/math]-path in [math]\displaystyle{ G }[/math] subject to [math]\displaystyle{ l }[/math]
Objective
N/A
Complexity
Polynomial