















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!
















Graph G
MST of G
Node 0 1 2 3 4 5 6
Edge cost 0 ∞ ∞ ∞ ∞ ∞ ∞
Prev - 1 - - - - - -
Node 0 1 2 3 4 5 6
Edge cost 0 1 1 3 ∞ ∞ ∞
Prev - 1 0 0 0 - - -
Node 0 1 2 3 4 5 6
Edge cost 0 1 1 3 2 ∞ 7
Prev - 1 0 0 0 1 - 1
Node 0 1 2 3 4 5 6
Edge cost 0 1 1 3 1 2 ∞ 7
Prev - 1 0 0 0 2 1 - 1
Node 0 1 2 3 4 5 6
Edge cost 0 1 1 1 2 1 ∞ 7
Prev - 1 0 0 2 1 3 - 1
Node 0 1 2 3 4 5 6
Edge cost 0 1 1 1 1 1 7 1
Prev - 1 0 0 2 3 4 1 5
Node 0 1 2 3 4 5 6
Edge cost 0 1 1 1 1 1 1
Prev - 1 0 0 2 3 4 5