Research Article
Optimization of Self-Directed Target Coverage in Wireless Multimedia Sensor Network
Algorithm 1
Single-node single-interested target self-direction coverage algorithm.
Input: multimedia sensor node , interested target , sensing radius , FoV vertex angel , sensing direction | Output: | Define Rotate Direction; // rotated direction of node, value as CLOCKWISE or ANTICLOCKWISE | Define Rotate Angle; // rotated angel of node | Calculate ; // distance between multimedia sensor node and interested target | IF THEN | ; | RETURN ; | END | IF THEN | Calculate ; // the angel between sensing direction to interested target | IF THEN | ; | RETURN ; | END | IF THEN | RotateDirection = anticlockwise; | RotateAngle = ; | END | IF THEN | RotateDirection = clockwise; | RotateAngle = ; | END | ROTATE(, RotateDirection, RotateAngle); // rotated RotateAngle to RotateDirection | | RETURN . |
|