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