Research Article
Protecting Location Privacy for Outsourced Spatial Data in Cloud Storage
Algorithm 2
Index generation algorithm for DSC (IGD).
Input: quad tree root node , starting point , curve orientation | Output: updated quad tree root node | (1) ; | (2) PUSH; | (3) while do | (4) ← POP(); | (5) if then | (6) for to 0 do | (7) ; | (8) PUSH(); | (9) end for | (10) else | (11) ; | (12) end if | (13) end while |
|