Research Article

Optimization of Self-Directed Target Coverage in Wireless Multimedia Sensor Network

Algorithm 2

The algorithm of multinode single-target self-directed coverage.
Input: set of multimedia sensor nodes , interested target , sensing radius , FoV vertex
angel , sensing direction corresponding to node set
Output:
Define ; //node selected to cover interested target,
Define RotateDirection;//rotated direction of node, value as CLOCKWISE or ANTICLOCKWISE
Define RotateAngle;//rotated angel of node
Let ;//for node set of FoV disk coverage target
Let ; //for coverage expectation of node to interested target in B;
FOR each
  Calculate
  IF THEN
   ;
  Calculate
  Calculate
   ;
  END
END
;
= ;
IF THEN
  RotateDirection = anticlockwise;
  RotateAngle = ;
END
IF THEN
  RotateDirection = clockwise;
  RotateAngle = ;
END
ROTATE( , RotateDirection, RotateAngle); // rotated RotateAngle to RotateDirection
RETURN .