Skip to main content
. 2020 Mar 27;20(7):1853. doi: 10.3390/s20071853
Algorithm 1: Forming a Local Task List Based on Priorities in PA
1. Input: sensed tasks T from connected sensors
2: Output: list of sorted critical C, Moderate M, and normal N data
3:  if T = C then do,
update priority list (P)
else,
4:    if T = M then do,
       set T as M
else,
5:    set T as N
6: end if;