Research Article

A Network Coding-Based Braided Multipath Routing Protocol for Wireless Sensor Networks

Algorithm 3

Decoding algorithm.
Input: Packets set SP
Output: Signal SR
(1) if then
(2)  Selecting m packets with the same in SP
(3)  if cannot select m packets then
(4)   Break
(5)  else
(6)   Use equation (9) to calculate
(7)   Calculate
(8)   Use OMP to recovery the Signal SR
(9)  end if
(10) end if