Continuous K-Nearest Neighbor processing based on speed and direction of moving objects in a road network