Skip to main content
. 2020 Oct 22;20(21):5997. doi: 10.3390/s20215997
Algorithm A2. Evaluation of Node Current’s Rank and Node Child’s Rank
1: Begin
2: input: node_id
3: input: min_child_rank
4: input: node_current_rank
5: input: parent_threshold_divisor
6: input: minch_pst
7: input: threshold
8: set minch_pst = (min_child_rank +
parent_threshold_divisor)
9: if node_current_rank <= minch_pst then
10:   set threshold[node_id] = 7
11: else
12:   set threshold[node_id] = 6
13: End if
14: End