Research Article

A Novel Index Method for K Nearest Object Query over Time-Dependent Road Networks

Algorithm 1

NWT-FUNCTION  .
Input:   and .
Output:  .
1: ;
2: for every   do
3:  if    then
4:   , ;
5:   for to 1do
6:    , ;
7:     for ;
8:    ;
9:    ;
10: else
11:  ;
12: ;
13: return