2013年3月28日

A*算法

摘要: 1 #include <stdlib.h> 2 #include <stdio.h> 3 #include <string.h> 4 #include <math.h> 5 6 7 #define NODEEQUAL(a, b) (*((unsigned int *)(a)) == *((unsigned int *)(b))) 8 //#define GETDIST(a, b) ((abs((a)->x - (b)->x) + abs((a)->y - (b)->y)) * 10) 9 //#define GETDIST 阅读全文

posted @ 2013-03-28 13:51 郁郁思扬 阅读(253) 评论(0) 推荐(0) 编辑

导航