Skip to main content
. 2021 Aug 9;21(16):5369. doi: 10.3390/s21165369
Algorithm 1: IoT devices responses
  Input: TDij’s Boolean response (b1,b2,⋯,bk) and numerical response RNij
  Output: Rij=(RBij∥RNij)
1: for each TDij do
2:    RBij=(b1&b2&⋯&bk)
3:    if RBij=1 then
4:      RNij=RNij
5:    else
6:      RNij=0
7:    end if
8: end for
9: return Rij=(RBij∥RNij)