|
Algorithm 2. Anomaly-aware Node Localization (ANLoC) Algorithm |
|
Input: The sampled EDM matrix , the index set , the parameters , and threshold , the initial number of Gaussian components . The coordinates of anchor nodes where denotes the number of anchor nodes. |
|
Output: Coordinates of all unknown nodes . |
| 1. Calculate the true underlying EDM matrix by using Algorithm 1; |
| 2. Double centering the matrix : |
| , where and is identity matrix; |
| 3. Perform SVD decomposition on matrix : |
|
; |
| 4. Calculate relative coordinates: |
|
|
| where , , ; |
| 5. Calculate the coordinate transformation matrix : |
| ; |
| 6. Calculate and output coordinates of all unknown nodes: |
|
|