Research Article
Energy Balanced Source Location Privacy Scheme Using Multibranch Path in WSNs for IoT
Algorithm 4: Bran Scheme (Node , Hop )
Input: | : the node in the MHR path; | : the length of ; | Output: | The routing path of ; | 1: Initiation: ; | 2: while receive Bran-i message do | 3: Build the candidate set; the candidate set delete FW, Bran, and CW node; | 4: Get branch angle ; | 5: Select the most energy node in the candidate set and in range of as Next_hop; | 6: ; | 7: if; | 8: return; | 9: end if | 10: end while |
|
Algorithm 4: Bran Scheme (Node , Hop ) |