Wireless Communications and Mobile Computing / 2020 / Article / Alg 2

Research Article

Privacy-Enhancing Preferential LBS Query for Mobile Social Network Users

Algorithm 2

Dynamic clustering.
Input: U Users, UT User trust factor, r Range, c Center, UP User profiles, x percentage change, and s Speed;
Output: UCH User cluster head;
1: whiledo
2:  if Head==NULL Head out of range == TRUE then
3:   Head Election(,r,c);
4:   if == Head then
5:     Cluster();
6:   end if
7:  end if
8:  if network change in percentage == x then
9:   if == Head then
10:    Cluster();
11:   end if
12:  end if
13: end while
14: return;

Article of the Year Award: Outstanding research contributions of 2020, as selected by our Chief Editors. Read the winning articles.