|
| |||
| Algorithm 1: Preprocessing in ARM. | |||
|
| |||
| Input: Number of participant N = {1, 2,…, n}, sensing data S = {s1, s2, …, sn} of n participants | |||
|
Output:
|
|||
| 1 | for i = 1 to n do | ||
| 2 | Mi ← initial_value; | ||
| 3 | while convergence do | ||
| 4 | Compute A using Equation (1); | ||
| 5 | for t = 1 to l do | ||
| 6 | Compute using Equation (2); | ||
| 7 | end | ||
| 8 | convergence ; | ||
| 9 | end | ||
| 10 | |||
| 11 | end | ||
|
| |||