11.03.2014 Views

Network Coding and Wireless Physical-layer ... - Jacobs University

Network Coding and Wireless Physical-layer ... - Jacobs University

Network Coding and Wireless Physical-layer ... - Jacobs University

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

70 Chapter 5: <strong>Network</strong> <strong>Coding</strong> with LT Codes as Erasure Codes<br />

either b 1 or b 2 is transmitted while the other is discarded. This will relieve the excess<br />

of symbols with degree 4 <strong>and</strong> the shortage of those with degree 2. The scheme is implemented<br />

in Algorithm 5.2.<br />

Algorithm 5.1 The buffering scheme performed by the source<br />

Let<br />

⎧<br />

⎪⎨ 1 if the switch is pushed to the left buffer<br />

• S l =<br />

⎪⎩ 0 if the switch is pushed to the right buffer<br />

,<br />

• λ n be the LT-encoder output at the discrete time n = 0, 1, 2, ..., N max ,<br />

• d(λ n ) be the degree of λ n ,<br />

• N B be the size of each buffer,<br />

• B l (m), m = 0, 1, 2, ..., N B −1 be the m th element in the left buffer such that B l (m) precedes<br />

B l (m + 1),<br />

• B r (q), q = 0, 1, 2, ..., N B − 1 be the q th element in the right buffer such that B r (q) precedes<br />

B r (q + 1),<br />

• π l , π r be the pointers of the left <strong>and</strong> the right buffer, respectively,<br />

• <strong>and</strong> b 1 , b 2 be the current symbol to be transmitted to the edges AB <strong>and</strong> AC, respectively,<br />

1) Initialize<br />

n := 0<br />

S l := 1<br />

B l (0) := λ 0<br />

π l := 1<br />

π r := 0<br />

{B l (m)|m = 1, 2, ..., N B − 1} := ∅<br />

{B r (q)|q = 0, 1, 2, ..., N B − 1} := ∅<br />

2) n := n + 1<br />

3) if S l = 0 {

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!