Research Article
Reputation-Based Secure Sensor Localization in Wireless Sensor Networks
Pseudocode 1
Pseudocode for the reputation model.
| // Beacon nodes evaluate each other between neighbor beacon nodes | | | | while(true) | | | | if | | | | else | | | | sleep() | | // Beacon nodes send the reputation value to their neighbor sensor nodes | | Send (node , node , reputation value) | | // Sensor nodes compute the reputation value of their neighbor beacon nodes | | |
|