| Algorithm 1: Distributed PQ-index Construction |
|
Input: Set of taxi trips T Output: PQ-index // information extraction 1: Taxi trip information ←(T); // grouping by area or route 2: Initialize as a tuple of (pair (,), a list of taxi trip information); 3: Initialize as a tuple of (pair (,), a list of taxi trip information); 4: ← (); 5: ← (); // construct basic summaries 6: Initialize for an area summary; 7: Initialize for a route summary; 8: ← (); // Algorithm 2 9: ← (); // Algorithm 3 // PQ-index construction 10: An extended route summary ← (); // Algorithm 4 11: ← (,); 12: return ; |