Map matching is a fundamental task in trajectory analysis. The input is an embedded graph with travel time costs, and a trajectory in the form of a spatio-temporal measurement sequence recorded by an entity moving in this graph. The goal is to associate each measurement with a location in the graph as well as providing a path connecting these locations in order, such that the travel time between consecutive locations obeys the timestamp difference of the respective measurements. This is challenging because measurements are subject to spatial uncertainty and thus it is only known that the entity traversed a disk-shaped area rather than a particular point. Existing methods rely on sampling a finite set of candidate locations within each disk. However, they might fail to identify a feasible map matching path if the true locations are not among the selected candidates. We present the first algorithm for general graphs that considers the entire continuum of possible locations in each disk and hence decides feasibility exactly. Under realistic assumptions about the graph and the measurement sequence, we prove that our algorithm runs in $\mathcal{O}(k n \log n)$, where $k$ is the number of measurements and $n$ the number of nodes in the graph. We also provide a careful implementation of the algorithm and propose several engineering techniques to improve its practical performance. Experiments on a wide range of trajectories demonstrate the effectiveness of our algorithm.
翻译:暂无翻译