检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:高英腾 廖志高[1] GAO Yingteng;LIAO Zhigao(School of Economics and Management,Guangxi University of Science and Technology,Liuzhou,Guangxi 545006,China)
机构地区:[1]广西科技大学经济与管理学院,广西柳州545006
出 处:《计算机工程与应用》2023年第4期320-328,共9页Computer Engineering and Applications
基 金:国家社会科学基金(19XGL025)。
摘 要:针对市区内交通车速变化频繁、备选路径多的特点,传统算法选择路径时计算量大导致无法有效收敛,提出一种蚁群与Dijkstra混合算法进行求解。首先利用高德地图API获取市区主要交通道路及其在不同时刻的车速,并运用BP神经网络对车速进行预测。在此基础上,综合考虑固定成本、时间变动成本、路程变动成本、时间窗惩罚成本及碳成本,以总成本最低为目标函数,利用贪心规则的Dijkstra算法搜索路径,通过不断调整蚁群算法留下的信息素来调整道路运输成本,建立修正成本地图,在路况发生变动时通过调用地图提高二次搜索速度,并使用Python编程进行验证。实例证明,混合算法结合了蚁群算法正反馈的特性以及Dijkstra算法全局搜索能力强的特点,缩短了应对路况变化所需的时间,并能有效根据当前交通实况规划出合理路径。In view of the characteristics of frequent changes in traffic speed and many alternative routes in urban areas,the traditional algorithm cannot converge effectively due to the large amount of calculation,a hybrid ant colony and Dijkstra algorithm is proposed.Firstly,Amap API is used to obtain the main traffic roads in the urban area and their speed at different time,and BP neural network is used to predict the speed.On this basis,considering the fixed cost,time variable cost,distance variable cost,time window penalty cost and carbon cost,taking the lowest cost as the objective function,the Dijkstra algorithm with greedy rules is used to search the path,and the road transportation cost is adjusted by constantly adjusting the pheromone left by the ant colony algorithm,a revised cost map is established,the map is called to improve the secondary search speed when the road condition changes,and the algorithm is verified with Python.The example shows that the hybrid algorithm combines the positive feedback characteristics of ant colony algorithm and the strong global search ability of Dijkstra algorithm,shortens the time required to deal with road conditions,and can effectively plan a reasonable path according to the current traffic situation.
分 类 号:TP391[自动化与计算机技术—计算机应用技术] F505[自动化与计算机技术—计算机科学与技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.120