A* 搜索:ASTAR 对图执行 A* 搜索。-matlab开发

时间:2021-05-30 00:48:00
【文件属性】:
文件名称:A* 搜索:ASTAR 对图执行 A* 搜索。-matlab开发
文件大小:3KB
文件格式:ZIP
更新时间:2021-05-30 00:48:00
matlab ASTAR使用源,目标,权重和启发式向量在图形上执行A *搜索。 句法: [path,cost,heuristic,func,iterations] = astar(source,target,weights,heuristics,names,startNode,goalNode) [path,cost,heuristic,func,iterations] = astar(source,target,weights,heuristics,startNode,goalNode) 输入: source = 包含每个边的起始​​节点的向量或元胞数组。 target = 包含每个边的结束节点的向量或元胞数组。 weights = 包含每条边权重的向量。 heuristics = 包含每个节点的启发值的向量(通常是直线距离)。 names = 包含每个节点的字符串名称的元胞数组。 start
【文件预览】:
astar.zip

网友评论