
Gπs δ(s, v)v
s s
d d[v]v∈V− {s}
π[v]6=Gπs
Gπs Gπ
Gπ
Gπ
Gπc=hv0, v1, . . . , vkiv0=vkπ[vi] = vi−1
i= 1,2, . . . , k
(vk−1, vk)
c s
(vk−1, vk)π[vi] = vi−1i= 1,2, . . . , k −1
d[vi]d[vi]←d[vi−1]+w(vi, vi−1)d[vi−1]
d[vi]≥d[vi−1]+ w(vi, vi−1)
π[vk]d[vk]> d[vk−1] + w(vk, vk−1)
c
k
X
i=1
d[vi]>
k
X
i=1
(d[vi−1] + w(vi−1, vi))
Pk
i=1 d[vi] = Pk
i=1 d[vi−1] 0 >Pk
i=1 w(vi−1, vi)
G
Gπ
Gπs
v∈Sπs v Gπ
Gπ∀v∈Vπp s v
Gπs v G p =hv0, v1, . . . , vkiv0=s
vk=v i = 1,2, . . . , k d[vi] = δ(s, vi)d[vi]≥d[vi−1]+w(vi−1, vi)
w(vi−1, vi)≤δ(s, vi)−δ(s, vi−1)
p
w(p)Pk
i=1 w(vi−1, vi)
≤Pk
i=1(δ(s, vi)−δ(s, vi−1))
δ(s, vk)−δ(s, v0)
δ(s, vk)
w(p)≤δ(s, vk)δ(s, vk)
s vkw(p) = δ(s, vk)p
s v =vk
d[v] = δ(s, v)Gπ
G
∀(u, v)∈E
d[p]δ(s, v)
≤δ(s, u) + w(u, v)
d[u] + w(u, v)