CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - genetic algorithm-short path
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Sub Category
Compress-Decompress algrithms
STL
Data structs
Algorithm
AI-NN-PR
matlab
Bio-Recognize
Crypt_Decrypt algrithms
mathematica
Maple
DataMining
Big Data
comsol
physical calculation
chemical calculation
simulation modeling
Search - genetic algorithm-short path - List
[
AI-NN-PR
]
zuiduanlu
DL : 0
最短路算法:基于遗传算法的一种最短路的MATLAB程序。-Shortest Path Algorithm: Genetic Algorithm Based on one of the most short-circuit the MATLAB program.
Date
: 2025-12-26
Size
: 1kb
User
:
崔宁
[
AI-NN-PR
]
FindRouteGUI
DL : 0
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
Date
: 2025-12-26
Size
: 10kb
User
:
chan
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.