Research Article

Enabling Clustering for Privacy-Aware Data Dissemination Based on Medical Healthcare-IoTs (MH-IoTs) for Wireless Body Area Network

Algorithm 2

Pseudocode for local recoding.
Input: dataset D, quasi-identifier Q, a sensitive attribute S or a sensitive value in S, an integer k, and a fraction a
Output: (a, k)–anonymous view V
test if D has an (a, k) anonymous table and return FALSE if not
whiledo
Letcontain all precisely deassociated trunks
choose a set of at most qmaxtuples in Dr
if then
  choose one attribute A in Q with the highest entropy generalize D according to attribute A
end if
end while
return V