摘要:
为建立一个高效的互联网在线地图服务路径搜索引擎,提出一种基于分块路径缓存的最短路径算法。对路网重采样得到路网密集度图像,提出路网分块算法ISODATA。根据路网子块构建路径缓存设计缓存路径索引算法,提出基于子块缓存路径与节点间动态路径结合的双向路径搜索算法。实验结果表明,该算法可将城市级在线路径搜索时间控制在0.2 s以内,降低网络地图服务路径计算服务器负荷。
关键词:
在线路径搜索,
路径缓存,
出入度,
影像城市
Abstract:
In order to construct a high efficiency path finding engine for the on-line map service, a shortest path search algorithm based on spatial block path cache and index is presented. A road network resample processing is proposed to obtain a road network density image and a block algorithm based on ISODATA clustering is presented to calculate the road network spatial block region. The path cache between road network block regions is calculated to reduce the path finding node number between block regions. An index algorithm to the path cache is designed. A bi-direction path search algorithm based on the path cache and path search in block region is presented. Experimental result of on-line path search shows higher efficiency comparing with the traditional path search algorithms which can reduce the on-line path calculation time less than 0.2 s for a city level road network. It can also obtain load balance of the map application server.
Key words:
on-line path search,
path cache,
out-in degree,
image city
中图分类号:
胡庆武, 周洋. 基于分块路径缓存的在线路径搜索算法[J]. 计算机工程, 2010, 36(22): 34-36.
HU Qiang-Wu, ZHOU Xiang. On-line Path Search Algorithm Based on Spatial Block Path Cache[J]. Computer Engineering, 2010, 36(22): 34-36.