Research Article
A Reconstruction Attack Scheme on Secure Outsourced Spatial Dataset in Vehicular Ad-Hoc Networks
Algorithm 2
GetOrder: Determination of the relative order for row/column records.
| | Input: the collection of access patterns for a | | | | | | Output: the ordered set of records in the | | | | | (1) | | | (2) | FOR each in DO | | (3) | IF THEN | | (4) | | | (5) | END IF | | (6) | END FOR | | (7) | FOR each in DO | | (8) | IF THEN | | (9) | | | (10) | BREAK | | (11) | END IF | | (12) | END FOR | | (13) | FOR to DO | | (14) | FOR each in DO | | (15) | IF and THEN | | (16) | | | (17) | BREAK | | (18) | END IF | | (19) | END FOR | | (20) | END FOR | | (21) | RETURN |
|