Research Article
Weight-Aware Sensor Deployment in Wireless Sensor Networks for Smart Cities
Algorithm 1
The weight-aware sensor deployment algorithm with the given number of sensors.
input: , , | output: | Generate combinatorial numbers from 1 to , and store these combination into . | for all do | , | for to do | for to do | for all do | | | End for | | | End for | End for | | End for | when | |
|