Research Article
Sparse Sensor Placement for Interpolated Data Reconstruction Based on Iterative Four Subregions in Sensor Networks
Algorithm 1
The sensor placement based on the four subregions.
Sparsedeploy4 (int , float , float , float ) | {int; | ; | ; | ; | Switch | Case 0: | { | Sparsedeploy4(); | Sparsedeploy4(); | Sparsedeploy4(); | Sparsedeploy4(); | } | Case 1: | { | ; | Return; | } | Case 2: | { | If then | { | Sparsedeploy4(); | Sparsedeploy4(); | Sparsedeploy4(); | Sparsedeploy4(); | } | Else | { | Sparsedeploy4(); | Sparsedeploy4(); | Sparsedeploy4(); | Sparsedeploy4(); | } | Endif | } | Case 3: | {; | Goto case 2; | } | } |
|