Similar subtrajectory search is a finer-grained operator that can better capture the similarities between one query trajectory and a portion of a data trajectory than the traditional similar trajectory search, which requires the two checked trajectories are similar to each other in whole. Many real applications (e.g., trajectory clustering and trajectory join) utilize similar subtrajectory search as a basic operator. It is considered that the time complexity is O(mn^2) for exact algorithms to solve the similar subtrajectory search problem under most trajectory distance functions in the existing studies, where m is the length of the query trajectory and n is the length of the data trajectory. In this paper, to the best of our knowledge, we are the first to propose an exact algorithm to solve the similar subtrajectory search problem in O(mn) time for most of widely used trajectory distance functions (e.g., WED, DTW, ERP, EDR and Frechet distance). Through extensive experiments on three real datasets, we demonstrate the efficiency and effectiveness of our proposed algorithms.
翻译:相似子轨迹搜索是一种比传统相似轨迹搜索更细粒度的操作,能更好地捕捉单条查询轨迹与数据轨迹的一部分之间的相似性,而传统方法要求两条被检查的轨迹整体上彼此相似。许多实际应用(如轨迹聚类和轨迹连接)将相似子轨迹搜索作为基本操作。在现有研究中,大多数轨迹距离函数下,精确算法解决相似子轨迹搜索问题的时间复杂度为O(mn²),其中m为查询轨迹长度,n为数据轨迹长度。本文首次(据我们所知)提出了一种精确算法,针对主流轨迹距离函数(如WED、DTW、ERP、EDR和弗雷歇距离),在O(mn)时间内求解相似子轨迹搜索问题。通过在三个真实数据集上的大量实验,我们验证了所提算法的效率与有效性。