摘要: A*寻路初探 GameDev.net 作者: Patrick Lester 译者:Panic2005年3月18日 译者序:很久以前就知道了A*算法,但是从未认真读过相关的文章,也没有看过代码,只是脑子里有个模糊的概念。这次决定从头开始,研究一下这个被人推崇备至的简单方法,作为学习人工智能的开始。 这篇文章非常知名,国内应该有不少人翻译过它,我没有查找,觉得翻译本身也是对自身英文水平的锻炼。经过努力... 阅读全文
posted @ 2008-12-10 03:02 Beetlebum 阅读(5016) 评论(1) 推荐(0) 编辑
摘要: 第一道A* 想知道自己的启发函数有没有错的话,把函数返回值设为0再交上去看能不能通过就行了 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->#include #include #include using namespace std; #de... 阅读全文
posted @ 2008-12-10 02:55 Beetlebum 阅读(473) 评论(0) 推荐(0) 编辑