Nonnegative Integer Weights

The shortest path problem is the problem of finding a path between two vertices (or nodes) in a graph such that the sum of the weights of its constituent edges is minimized. Here, the weights are restricted to be nonnegative integers.

Parameters

  • VV: number of vertices
  • EE: number of edges
  • LL: maximum absolute value of edge cost

Filters

Computational Model

Randomization

Approximation

Algorithms Table

Displaying 4 of 4 algorithms

See more
Thorup's algorithm2004O(E+Vmin(loglogV,loglogL))O(E + V \min(\log \log V, \log \log L))O(V)O(V) ("linear-space queue")
Gabow Ahuja Algorithm1990O(E+Vlog(L))O(E + V \sqrt{\log(L)} )O(E+logC)O(E + \log C)
Dijkstra's algorithm with Fibonacci heap (Johnson 1981; Karlsson & Poblete 1983)1981O(EloglogL)O(E \log \log L)O(V+L)O(V+L)
Dial's Algorithm1969O(E+LV)O(V+L)

Reductions Table

Insuffient Data to display table

Other relevant algorithms

Insuffient Data to display table