Research Article
Privacy-Enhancing Preferential LBS Query for Mobile Social Network Users
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; |
|