Graphs_dart/tex/dart/pseudoDijkstra.txt

9 lines
157 B
Plaintext

dijkstra (G, w, s):
source(G,s)
S <- null
Q <- V[G]
while Q!=null:
u <- Extract_min(Q)
s <- S + u
äë˙ ęŕćäîé âĺđřčíű v čç Adj[u]:
relax(u, v, w)