Traditional route planning and k nearest neighbors queries only consider distance or travel time and ignore road safety altogether. However, many travellers prefer to avoid risky or unpleasant road conditions such as roads with high crime rates (e.g., robberies, kidnapping, riots etc.) and bumpy roads. To facilitate safe travel, we introduce a novel query for road networks called the k safest nearby neighbors (kSNN) query. Given a query location $v_l$, a distance constraint $d_c$ and a point of interest $p_i$, we define the safest path from $v_l$ to $p_i$ as the path with the highest path safety score among all the paths from $v_l$ to $p_i$ with length less than $d_c$. The path safety score is computed considering the road safety of each road segment on the path. Given a query location $v_l$, a distance constraint $d_c$ and a set of POIs P, a kSNN query returns k POIs with the k highest path safety scores in P along with their respective safest paths from the query location. We develop two novel indexing structures called Ct-tree and a safety score based Voronoi diagram (SNVD). We propose two efficient query processing algorithms each exploiting one of the proposed indexes to effectively refine the search space using the properties of the index. Our extensive experimental study on real datasets demonstrates that our solution is on average an order of magnitude faster than the baselines.
翻译:传统路线规划和近邻询问只考虑距离或旅行时间,而忽略道路安全。然而,许多旅行者倾向于避免风险或不愉快的道路条件,如犯罪率高的道路(如抢劫、绑架、暴乱等)和崎岖的道路。为了便利安全旅行,我们为道路网络引入了新的查询,称为“安全附近邻居”查询。鉴于查询地点$v_l$,距离限制$d_c$和利息点$p_i$,我们定义了最安全的道路路径,从1美元到1美元,这是所有道路从1美元到1美元,长度低于1美元。为了便利安全旅行,我们为道路网络引入了一个新的查询查询点,称为“安全”查询点为Kv_l$,距离限制$d_c$和利息点为1 p_i$,我们定义了最安全的路径,从1美元到1美元,最高的安全路径为1美元,最高的安全路径评分,所有道路评分为1美元到1美元, 美元;考虑到道路安全评分,根据查询地点,我们开发了2个新的标准,我们的安全测算标准,我们使用1号的进度图的进度图为1,我们的安全比标准。我们为2个新的标准,我们为标准,我们用1号的进度图的进度图图的进度图的进度图图为1,我们为1,我们为1,我们用2级的进度图的进度为1,我们为1。