摘要:
#include "micropather.h"#include <ctype.h> #include <stdio.h> #include <memory.h> #include <math.h> #include <vector> #include <iostream> #include "micropather.h" using namespace micropather; //地图的长宽; //x为列号,y为行号;const int MAPX = 10; const int 阅读全文
posted @ 2012-07-09 17:47
小 楼 一 夜 听 春 雨
阅读(659)
评论(0)
推荐(0)
摘要:
参考:http://rangercyh.blog.51cto.com/1444712/792044http://www.cppblog.com/christanxw/archive/2006/04/07/5126.htmlhttp://dev.gameres.com/Program/Abstract/a8first_2.htmhttp://www.chinaai.org/programming/algorithm/a-shortest-path.html(里面有云风大神的A*算法代码)http://qinysong.iteye.com/blog/678941(在此把这个算法称作B* 寻路算法( 阅读全文
posted @ 2012-07-09 16:16
小 楼 一 夜 听 春 雨
阅读(793)
评论(0)
推荐(1)

浙公网安备 33010602011771号