Parallel Processing Floyd's Algorithm
Parallel Processing Floyd's Algorithm
Mays Afif
Parallel Processing
Floyd's Algorithm
1
8
1
4 K
4 2
2
J
I
9 1
1 2 3 4 1 2 3 4
D0 D1
1 0 8 ∞ 1 1 0 8 ∞ 1
2 ∞ 0 1 ∞ 2 ∞ 0 1 ∞ 3-1-4
3 4 ∞ 0 ∞ 3-1-2 3 4 12 0 5
4 ∞ 2 9 0 4 ∞ 2 9 0
1 2 3 4
D2 1-2-3
D3 1 2 3 4
1 0 8 9 1 1 0 8 9 1
2 ∞ 0 1 ∞
2 5 0 1 6
3 4 12 0 5 4-2-3 3 4 12 0 5
4 ∞ 2 3 0 4 7 2 3 0
2-3-1
4-3-1
4-2-3-1
2-3-1-4
Lec.4 Parallel Processing Assistant. Lec. Mays Afif
D4 1 2 3 4
1 0 3 4 1
2 5 0 1 6 1-4-3
1-4-2
3 4 7 0 5
1-4-2-3
4 7 2 3 0 3-1-4-2
The last table is final and have a shortest path of all node.