基于改进遗传算法的多目标城市交通路径选择系统建模与仿真
2016-04-08卫小伟
卫小伟
(陕西交通职业技术学院信息工程系 西安 710018)
基于改进遗传算法的多目标城市交通路径选择系统建模与仿真
卫小伟
(陕西交通职业技术学院信息工程系西安710018)
摘要传统路径最优算法把路径最短作为目标,不考虑交通拥堵,红绿灯等待等实时路况,这种算法存在着它的局限性。为了满足不同人群的不同出行需求,提出一种城市交通路径选择模型,并用改进的遗传算法仿真实现。首先通过城市交通现有系统,采集城市交通路况数据,并通过路径选择系统对路网数据进行预处理,得到各路段实时加权长度值,然后通过遗传算法进行寻优解,为了提高搜索效率,提出了一种以路段为单位进行基因交叉与基因重组的方法对遗传算法加以改进,大大提高了遗传算法路径搜索时间,并在Matlab平台上仿真实现。仿真结果表明,用改进遗传算法进行城市交通路径选择,可以减少路径搜索的时间,提高搜索效率。
关键词遗传算法; 城市交通; 路径选择; 建模与仿真
Multi-objective City Traffic Routing System Modeling and Simulation Based on the Improved Genetic Algorithm
WEI Xiaowei
(Department of Information Engineering, Shanxi College of Communication Technology, Xi’an710018)
AbstractTraditional optimal path algorithm shortest path as the goal, regardless of the traffic jam, traffic lights waiting for real-time traffic, such as the algorithm exists its limitations. In order to meet different people of different travel demand, a model of urban traffic route choice is put forward, and simulated by the improved genetic algorithm. Firstly through the existing urban traffic system, urban road traffic data, data preprocessing and through the path selection system of road network, road real-time weighted length value is obtained, and then through the genetic algorithm optimization solution, in order to improve the search efficiency, a genetic crossover and gene recombination in sections as the unit of the method is proposed to improve genetic algorithm, greatly improving the path search time genetic algorithm, and the simulation on Matlab platform. The simulation results show that with the improved genetic algorithm for urban traffic route choice, it can reduce the time of the search path.
Key Wordsgenetic algorithm, city traffic, route choice, modeling and simulation
Class NumberTP391
1引言
传统的交通路径搜索算法中,多采用Dijkstra方法来解决单源单目标最优路径算法[1]。该类方法的数据结构及其实现方法是以牺牲时间效率来换取空间节省,存在计算时间较长,性能低下的问题[2]。目前在GPS导航系统中遇到的单源多目标路径问题,可以采用Steiner解决,途径有两种,一种是精确算法,另一种是启发算法,前者需要很长的时间,而启发算法能在较短时间内得到解,但算法缺乏全局性,很容易陷入局部最优解[3]。……
