Skip to main content
. 2015 Dec 4;15(12):30545–30570. doi: 10.3390/s151229817
Algorithm 1 Signal hole detection.
  • Require: GM[][]SplitnetworkintosmallgridsN*N

  •   for i=1: N do

  •     for j=1: N do

  •       GM[i][j] = White

  •     end for

  •   end for

  •   for i=1: NoofSensor do

  •     for j=1:NoofAP do

  •       if error_deviation(AP)<threshold then

  •         for X=1: N do

  •           for Y=1: N do

  •             if Grid(X,Y)isindirectionofAP,sensor(i) then

  •               GM(X,Y)gray

  •             end if

  •           end for

  •         end for

  •       end if

  •     end for

  •   end for