|
Algorithm 4 NACK generation at receiver j
|
-
1:
Initialize as a zero matrix
-
2:
if linear combination l is received at the receiver then
-
3:
Find which is the set of packets corresponding to the pivot columns of
-
4:
Update the row of corresponding to the next unseen packet of receiver j with the coefficient vector corresponding to l
-
5:
Perform Gauss–Jordan elimination
-
6:
Find which is the set of packets corresponding to the main diagonal pivot columns (these are the pivot columns for which the pivot elements are in the main diagonal of a matrix) of updated
-
7:
if
then
-
8:
Send NACK
-
9:
Make all elements of the last updated row of zero
-
10:
end if
-
11:
else
-
12:
Send NACK
-
13:
end if
|