Research Article
Surface Movement and Deformation Law Caused by Different Coal Pillar Stagger Distances in Strip Filling IoT-Enabled Sustainable Mining
Algorithm 1
The data aggregation algorithm based on the Euclidian distance.
| Input: Original dataset denoted by points Pi and Pj | | Output: Refined dataset denoted by two points and | (1) | for each element i, j in Pi, Pj | (2) | if j ≤ i or i Ɇ Pi or j Ɇ Pj | (3) | Do nothing [no duplicate data] | (4) | end if | (5) | E d (Pi, Pj) = (pik–minjk)2 where pik є Pi and pjk є Pj | (6) | if Ed (Pi, Pj) ≤ Td then | (7) | Discard either Pi or Pj, to form or | (8) | end if | (9) | return or |
|