华东师范大学学报(自然科学版) ›› 2017, Vol. 2017 ›› Issue (5): 162-173,235.doi: 10.3969/j.issn.1000-5641.2017.05.015

• 位置服务 • 上一篇    下一篇

基于正则表达式的限制性路径规划

王婧, 刘辉平, 金澈清   

  1. 华东师范大学 计算机科学与软件工程学院, 上海 200062
  • 收稿日期:2017-06-20 出版日期:2017-09-25 发布日期:2017-09-25
  • 通讯作者: 金澈清,男,博士生导师,研究方向为基于位置的服务.E-mail:cqjin@sei.ecnu.edu.cn E-mail:cqjin@sei.ecnu.edu.cn
  • 作者简介:王婧,女,硕士研究生,研究方向为基于位置的服务.E-mail:jingwang@stu.ecnu.edu.cn
  • 基金资助:
    国家重点研发计划重点专项(973)(2016YFB1000905);国家自然科学基金(61370101,61532021,U1501252,U1401256,61402180)

Constrained route planning based on the regular expression

WANG Jing, LIU Hui-ping, JIN Che-qing   

  1. School of Computer Science and Software Engineering, East China Normal University, Shanghai 200062, China
  • Received:2017-06-20 Online:2017-09-25 Published:2017-09-25

摘要: 传统的路径规划算法大多以长度、时间或代价等为度量标准搜索起止点间的最优路径,不适于解决有位置限制的路径规划需求,如搜索有序或无序地经过全部或部分用户指定的位置点或位置点类别的最短路径.本文主要针对这类应用场景,利用正则表达式表示复杂的限制性路径规划需求,形式化定义了基于正则表达式的限制性路径规划问题并设计了通用的解决框架,在此框架基础上提出了基本的限制性路径规划算法BCRP(Basic ConstrainedRoute Planning)以及加入剪枝策略的改进的限制性路径规划算法ICRP(Improved Constrained Route Planning),有效减少了搜索空间.最后通过在真实路网数据上的实验结果证明了方法的高效性.

关键词: 限制性路径规划, 正则表达式, 最短路径

Abstract: Traditional route planning algorithms, which mainly focus on metrics such as the distance, time, cost, etc. to find the optimal route from source to destination, are not suitable for solving route planning requirements with location constraints. For example, finding the shortest path passing the whole or a part of user-defined location categories in order or disorder. Mainly focusing on these scenarios, this paper formalizes the constrained route planning problem on the basis of the regular expression generated by user requirements and gives a general framework to solve this problem. Based on this, a basic constrained route planning algorithm (BCRP) and an improved constrained route planning algorithm (ICRP) are proposed while ICRP reduces the search space using pruning rules. Finally, extensive experiments on real road network datasets demonstrate the efficiency of our proposal.

Key words: constrained route planning, the regular expression, the shortest path

中图分类号: