|
Algorithm 2: Construction of the Measurement-Formation Path |
|
Input: Sparse measurement coefficients vectors each with n i.i.d. elements; nodes’ maximum communication range Rcomm; |
|
Output: Set of measurement formation a trees ,
|
| 1 For each measurement
|
| 2 Calculate the set of interested nodes . |
| 3 Calculate the set of neighbor nodes . |
| 4 Do
|
| 5 Calculate the number of edges incident from to (denoted as ). |
| 6 If
|
| 7 Remove all adjacent nodes of node v from where and
|
| 8 Add node v into Ini
|
| 9 Renew Ne and Ini
|
| 10 Ifend
|
| 11 While (). |
| 12 Calculate the convex hull (denoted as ) of set by using Graham scan method |
| 13 Construct the MST which takes the sink as a root and connects all Cl nodes |
| 14 where recorded the edge information of such MST |
| 15 Forend
|
| 16 Return
|