设为首页 加入收藏

TOP

经典算法研究系列:一、A*搜索算法(二)
2014-11-23 21:45:59 来源: 作者: 【 】 浏览:14
Tags:经典 算法 研究 系列 搜索
et
add x to closedset //x放入

CLSOE表
for each y in neighbor_nodes(x)
if y in closedset
continue
tentative_g_score := g_score[x] + dist_between(x,y)

if y not in openset
add y to openset
tentative_is_b

首页 上一页 1 2 下一页 尾页 2/2/2
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇一步一图一代码,一定要让你真正.. 下一篇经典算法研究系列:二、Dijkstra ..

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: