How can i calculate reliability for simulate routing protocol in WSN. (ex: Leach or any one)
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Anurag Shukla
am 4 Dez. 2017
Kommentiert: Anurag Shukla
am 11 Dez. 2017
How can i calculate reliability for simulate routing protocol in WSN. (ex: Leach or any one)
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 4 Dez. 2017
Because you are simulating, you can have each simulated node keep a count of the number of messages it sends and the number it successfully receives. Then at the end of the simulation, you can have your program run through all of those data structures and total up the values, and calculate the fraction.
You might want to use two counters on receiving, one for packets addressed to the node specifically and one for packets that are "pass through" to another node; likewise you would want two sending counters, one for self-generated messages and the other for pass-through messages. The overall system reliability is the fraction of the total self-generated messages relative to the total successful terminal receives.
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!