文件名称:FindRouteGUI
介绍说明--下载内容来自于网络,使用问题请自行百度
1,已完成功能
(1)距离短时大部分情况下可以选择最短路径进行移动
(2)加入了精英选择优化算法
(3)无论地图大小一定可以得出路径
(4)点击障碍物可以得出路径
3,代码改进
将原来两大类(Widget,Geno)拆分成三个类(Widget,Handle,Geno),
Widget:显示界面等可视化元素,获取最短路径并显示移动,
Handle:优化路径,得出最短路径,以后会加入通信模块
Geno:计算得出一定数量的可达路径
4,算法描述
(1)遗传算法:
根据起始点的曼哈顿距离得出染色体的大约长度,最好比曼哈顿距离稍大。
在计算过程中如果没法得出可达路径(则适应性分数不等于1)会自动加大染色体长度。
-1, has completed the function
(1) short distance in most cases you can choose the shortest path to move
(2) joined the elite selection optimization algorithm
(3) regardless of the size of the map can be drawn a certain path
(4) Click on the path obstructions can be drawn
3, code improvements
The original two categories (Widget, Geno) split into three categories (Widget, Handle, Geno),
Widget: display interface and other visual elements, to obtain the shortest path and display the movement
Handle: optimal path, draw the shortest path, the communication module will be added later
Geno: up to a certain number of calculated path
4, the algorithm described
(1) genetic algorithm:
According to arrive at the starting point of the Manhattan distance about the length of the chromosome, preferably slightly larger than the Manhattan distance.
If in the calculation process can not come up the path (if not equal to 1 adaptability scores) will automatically increase the
(1)距离短时大部分情况下可以选择最短路径进行移动
(2)加入了精英选择优化算法
(3)无论地图大小一定可以得出路径
(4)点击障碍物可以得出路径
3,代码改进
将原来两大类(Widget,Geno)拆分成三个类(Widget,Handle,Geno),
Widget:显示界面等可视化元素,获取最短路径并显示移动,
Handle:优化路径,得出最短路径,以后会加入通信模块
Geno:计算得出一定数量的可达路径
4,算法描述
(1)遗传算法:
根据起始点的曼哈顿距离得出染色体的大约长度,最好比曼哈顿距离稍大。
在计算过程中如果没法得出可达路径(则适应性分数不等于1)会自动加大染色体长度。
-1, has completed the function
(1) short distance in most cases you can choose the shortest path to move
(2) joined the elite selection optimization algorithm
(3) regardless of the size of the map can be drawn a certain path
(4) Click on the path obstructions can be drawn
3, code improvements
The original two categories (Widget, Geno) split into three categories (Widget, Handle, Geno),
Widget: display interface and other visual elements, to obtain the shortest path and display the movement
Handle: optimal path, draw the shortest path, the communication module will be added later
Geno: up to a certain number of calculated path
4, the algorithm described
(1) genetic algorithm:
According to arrive at the starting point of the Manhattan distance about the length of the chromosome, preferably slightly larger than the Manhattan distance.
If in the calculation process can not come up the path (if not equal to 1 adaptability scores) will automatically increase the
(系统自动生成,下载前可以参看下载内容)
下载文件列表
FindRouteGUI/findroutealg.h
FindRouteGUI/FindRouteGUI.pro
FindRouteGUI/FindRouteGUI.pro.user
FindRouteGUI/geno.cpp
FindRouteGUI/genome.cpp
FindRouteGUI/handle.cpp
FindRouteGUI/handle.h
FindRouteGUI/main.cpp
FindRouteGUI/route.qrc
FindRouteGUI/routemap.cpp
FindRouteGUI/widget.cpp
FindRouteGUI/widget.h
FindRouteGUI/widget.ui
FindRouteGUI
FindRouteGUI/FindRouteGUI.pro
FindRouteGUI/FindRouteGUI.pro.user
FindRouteGUI/geno.cpp
FindRouteGUI/genome.cpp
FindRouteGUI/handle.cpp
FindRouteGUI/handle.h
FindRouteGUI/main.cpp
FindRouteGUI/route.qrc
FindRouteGUI/routemap.cpp
FindRouteGUI/widget.cpp
FindRouteGUI/widget.h
FindRouteGUI/widget.ui
FindRouteGUI
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.