Location:
Search - findpath
Search list
Description: 一个A*寻路的演示程序,可用于游戏中进行寻路。-A * find a way to the demo program can be used for the game find their own path.
Platform: |
Size: 13243 |
Author: 姜新宇 |
Hits:
Description: 六 程序实现:
#include <stdio.h>
typedef struct {
int row
int col
}Position
int FindPath (Position start, Position finish, int &PathLen, Position *&path)
{ //计算从起始位置start到目标位置finish的最短布线路径,找到返回1,否则,返回0
int i
if ((start.row = = finish.row) && (start.col = = finish.col)) {
PathLen = 0 return 0 } //start = finish
//设置方格阵列”围墙”
for (i = 0 i <= m+1 i++)
grid[0][i] = grid[n+1
-6 program : # include
Platform: |
Size: 11873 |
Author: 敖斌 |
Hits:
Description: 再来一个碰碰球小游戏!里面有两个关键的算法:迷宫算法外( findPath())和递归回搠的算法( SameBall() )-then fondled a ball game! There are two key algorithms : outside the maze algorithm (findPath ()) and recursive algorithm to daub (SameBall (
Platform: |
Size: 137480 |
Author: 王哲江 |
Hits:
Description: 游戏编程AI源码,包括A*等findpath的算法
Platform: |
Size: 4546573 |
Author: liuxy |
Hits:
Description: 一个A*寻路的演示程序,可用于游戏中进行寻路。-A* find a way to the demo program can be used for the game find their own path.
Platform: |
Size: 40960 |
Author: 姜新宇 |
Hits:
Description: 六 程序实现:
#include <stdio.h>
typedef struct {
int row
int col
}Position
int FindPath (Position start, Position finish, int &PathLen, Position *&path)
{ //计算从起始位置start到目标位置finish的最短布线路径,找到返回1,否则,返回0
int i
if ((start.row = = finish.row) && (start.col = = finish.col)) {
PathLen = 0 return 0 } //start = finish
//设置方格阵列”围墙”
for (i = 0 i <= m+1 i++)
grid[0][i] = grid[n+1
-6 program :# include
Platform: |
Size: 11264 |
Author: 敖斌 |
Hits:
Description: 再来一个碰碰球小游戏!里面有两个关键的算法:迷宫算法外( findPath())和递归回搠的算法( SameBall() )-then fondled a ball game! There are two key algorithms : outside the maze algorithm (findPath ()) and recursive algorithm to daub (SameBall (
Platform: |
Size: 137216 |
Author: 王哲江 |
Hits:
Description: 看到一篇有关A*寻路径的算法文章
http://dev.gameres.com/Program/Abstract/Arithmetic/A%20Pathfinding%20for%20Beginners.htm
讲得很不错,很透彻,就动手照虎画猫的做了个小程序,希望对大家有点用处。
不过测试过程中发现简单的按照这个算法,会有些路径成死路的问题,还在研究更好的H值取值算法,也希望能有高手指点一二。
-Saw an article on the A* search path algorithm article http://dev.gameres.com/Program/Abstract/Arithmetic/A 20Pathfinding 20for 20Beginners.htm very good, very thorough, according to a tiger painted on the hands cat s done a small program, in the hope that we are a bit useless. Found in the testing process, however simple in accordance with this algorithm, some dead-end path into the problem of H is also studying the value of better value algorithm, also hope to have expert advice 12.
Platform: |
Size: 280576 |
Author: 蔡瑞发 |
Hits:
Description: 游戏编程AI源码,包括A*等findpath的算法-AI game programming source code, including the A* algorithm, such as findpath
Platform: |
Size: 4546560 |
Author: liuxy |
Hits:
Description: ArcGIS Engine开发
效用网络分析:求出网络中两点之间的路径-ArcGIS Engine development of the effectiveness of network analysis: calculated network path between two points
Platform: |
Size: 78848 |
Author: 龙承宗 |
Hits:
Description: 游戏自动寻路代码,FindPath,著名的ASTAT算法-Games automatic road code
Platform: |
Size: 49152 |
Author: 吕虎猛 |
Hits:
Description: 自动寻路算法,使用c编译。欢迎大家下载使用。-Automatic routing algorithm, the use of c compiler. Welcome to the download.
Platform: |
Size: 183296 |
Author: 新的一页 |
Hits:
Description: 易语言查进程路径源代码示例!本人写的,大家参考下!
Platform: |
Size: 5120 |
Author: yoobaby |
Hits:
Description: 实现了寻访模块的功能,具有查找功能。
对整个工作环境分析-Search module implements the function, a search function. Analysis of the entire work environment
Platform: |
Size: 14336 |
Author: 周斌 |
Hits:
Description: win下的A*
假设有人想从A点移动到一墙之隔的B点,如下图,绿色的是起点A,红色是终点B,蓝色方块是中间的墙。-A* win under the assumption that someone wants to move from point A to point B separated by a wall, the following chart, green is the starting point A, the red is the end point B, the blue box in the middle of the wall.
Platform: |
Size: 79872 |
Author: assa |
Hits:
Description: A*算法原理、详细步骤及示例代码.可将寻路结果打印在控制台窗口-A* algorithm, the detailed steps and sample code. Can find its way in the console window to print the results
Platform: |
Size: 56320 |
Author: haochaoqing |
Hits:
Description: astar算法的简单实现,能够帮助你理解astar算法,赶快下载吧-astar simple implementation of the algorithm to help you understand astar algorithm, to download it
Platform: |
Size: 10240 |
Author: 李华 |
Hits:
Description: 使用VC实现路径查找算法demo。有图形显示路径查找过程。-Implement path search algorithm using the VC demo. A graphics display path search process.
Platform: |
Size: 12768256 |
Author: cool |
Hits:
Description: 实现ArcGIS的最短路径查询,是基于网络分析的-findpath Network Analysis
Platform: |
Size: 857088 |
Author: weixiao |
Hits:
Description: A星寻路算法,详细到每一步的走法,只需要看调试输出信息就能透彻的明白A星的原理和算法,祝君好运-A Star pathfinding algorithm in detail every step moves, just look at the debug output information can thoroughly understand the principles and algorithms of the A Star, best of luck
Platform: |
Size: 92160 |
Author: 啥事 |
Hits: