Algorithm 3 Target Position estimation and Relaying of he data to the BS input: CH having a DATA_TO_BS packet to send Dutput: Receiving the DATA_TO_BS packet at the BS 1: timer + Ø 2: CH calculate x= ftarget estimation{ř1, ñ2, ř3 … } 3: CH produces the DATA_TO_BS packet to send 4: repeat 5: CH sends the DATA_TO_BS packet to the RN timer + waitingRelayInfoi 7: receiving the ENERGY_INFO packet from the RN if timer + Ø then update Eres(RN) then if Eres (RN) < (Eres (BN)+switchingEnergy) then 6: 8: 9: TC

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
Algorithm 3 Target Position estimation and Relaying of
the data to the BS
Input: CH having a DATA_TO_BS packet to send
Output: Receiving the DATA_TO_BS packet at the BS
1: timer + Ø
2: CH calculate x = fiarget estimation{ř1, ř2, ř3 ...}
3: CH produces the DATA_TO_BS packet to send
4: repeat
CH sends the DATA_TO_BS packet to the RN
timer + waitingRelayInfoi
receiving the ENERGY_INFO packet from the RN
if timer + Ø then update Eres (RN) then
if Eres (RN) < (Eres (BN)+switchingEnergy) then
5:
6:
7:
8:
9:
10:
TG + RN, RN + BN, BN + TG
1:
end if
12:
end if
13:
CH + RN
14: until Until reaching the BS
Transcribed Image Text:Algorithm 3 Target Position estimation and Relaying of the data to the BS Input: CH having a DATA_TO_BS packet to send Output: Receiving the DATA_TO_BS packet at the BS 1: timer + Ø 2: CH calculate x = fiarget estimation{ř1, ř2, ř3 ...} 3: CH produces the DATA_TO_BS packet to send 4: repeat CH sends the DATA_TO_BS packet to the RN timer + waitingRelayInfoi receiving the ENERGY_INFO packet from the RN if timer + Ø then update Eres (RN) then if Eres (RN) < (Eres (BN)+switchingEnergy) then 5: 6: 7: 8: 9: 10: TG + RN, RN + BN, BN + TG 1: end if 12: end if 13: CH + RN 14: until Until reaching the BS
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY