| Algorithm 4: Build an Extended Route Summary |
|
Input: : tuple (key k, area , first time period , second time period , route summary ) Output: : pair (spatio-temporal hash-key , Extended Route Summary ) 1 Initialize as Extended Route Summary; // Assign a route summary 2 ← ; 3 ← ; 4 ← ; // augmenting a route summary with area summries 5 ← GetAreaSummary , ; 6 ← GetAreaSummary , ; // combine a spatio-temporal hashkey with an extended route summary 7 ← a pair of (, ); 8 return ; |