Wireless Communications and Mobile Computing / 2019 / Article / Alg 5

Research Article

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

Algorithm 5

Parents and Sendlist selection for each node u.
Input: , Neighbor set Nu, Parents set myParents
Output: myParents, Forwarded packets number
(1)  ⟵ ;
(2) Sort packet loss rates in Nu in the increasing order as {} ∈ Nu;
(3)  ⟵ 1;
(4) For  ⟵ 1 to |Nu| do
(5)   ⟵ ;
(6)  Insert the node in Nu corresponding to into the set myParents;
(7)  If then
(8)   |myParents| ⟵ ; and exit;//∗|myParents| represents the number of the selected parent nodes, namely, the size of path width.
(9)  End if;
(10) End for
(11)  ⟵  //∗m is the number of the data packets delivered by source nodes
(12) While  < 
(13)  calculate by equation (14);
(14)  increase ;
(15) End while

We are committed to sharing findings related to COVID-19 as quickly as possible. We will be providing unlimited waivers of publication charges for accepted research articles as well as case reports and case series related to COVID-19. Review articles are excluded from this waiver policy. Sign up here as a reviewer to help fast-track new submissions.