首页 | 本学科首页   官方微博 | 高级检索  
     检索      

基于矩阵的公交查询高效算法
引用本文:陈培军,王欣洁.基于矩阵的公交查询高效算法[J].太原科技大学学报,2011,32(1):50-54.
作者姓名:陈培军  王欣洁
作者单位:太原科技大学,太原,030024
摘    要:引入最小乘车次数矩阵Q,直达信息矩阵,直达信息转置矩阵,充分利用矩阵Q进行宏观的判断,用后两个矩阵进行精细的查找,并设计寻找和组装最优方案的算法,进而在最小换乘算法的基础上设计了高效公交查询算法。该算法不仅缩短了查询时间,且使查询结果更加人性化,可给出最少换乘次数为3的出行线路查询结果。

关 键 词:公交查询  最小换乘算法  最小乘车次数矩阵  直达信息矩阵

Efficient Bus Query Algorithm Based on Matrices
CHEN Pei-jun,WANG Xin-jie.Efficient Bus Query Algorithm Based on Matrices[J].Journal of Taiyuan University of Science and Technology,2011,32(1):50-54.
Authors:CHEN Pei-jun  WANG Xin-jie
Institution:CHEN Pei-jun,WANG Xin-jie(Taiyuan University of Science and Technology,Taiyuan 030024,China)
Abstract:This paper introduces least transfer matrix,direct information matrix and direct information transposition matrix.By making full use of matrix Q for macro-judgment,using the latter two matrices for specific search,and designing the method for searching and assembling the optimal routes,an efficient bus query algorithm is designed according to least transfer algorithm.This algorithm can give out the querying results from which least transfer time can be three,and the experiments show that this algorithm is m...
Keywords:bus query  least transfer algorithm  least transfer matrix  direct information matrix  
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号