Research Article
Sensor Node Placement in Wireless Sensor Network Based on Territorial Predator Scent Marking Algorithm
Pseudocode 1
Pseudocode for territorial-predator-scent-marking-algorithm- (TPSMA-) based sensor nodes placement.
Number of monitored location, | Number of potential location for sensor node, | Step 1: check if there is a sensor node located in | if yes | else | Repeat Step 1 until | Step 2: | Compute coverage level to location , for all respective | Mark territory for sensor nodes in j that has the maximum | coverage level to (Scent marking by predator on the area | that has the highest food resources) | Repeat Step 2 until | Step 3: | Monitored locations will be monitored by sensor nodes | that are within their marked territory. (Sensor node | identifies its monitored location through scent matching) |
|