文件名称:migong
- 所属分类:
- Windows编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 7kb
- 下载次数:
- 0次
- 提 供 者:
- 水*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
求两点路径是一个数据结构上的典型的迷宫问题,很多数据结构的书上都有介绍,解决办法如下:从一点开始出发,向四个方向查找,每走一步,把走过的点的值+1(即本节点值+1),防止重复行走,并把走过的点压入堆栈(表示路径),如果遇到墙、或者已走过的点则不能前进…… -Seeking two path is a data structure of a typical maze, a lot of books on data structures are introduced, the solution is as follows: From the beginning point proceed to the four directions to find, at every step, the points traversed value+1 (ie, the value of this node,+1), to prevent duplication of walking, and to the point pressure came into the stack (for paths), if you encounter the wall, or has passed the point it can not move forward ... ...
(系统自动生成,下载前可以参看下载内容)
下载文件列表
MathShortestPath\MathShortestPath.cpp
................\MathShortestPath.dsp
................\ReadMe.txt
................\StdAfx.cpp
................\StdAfx.h
....Path\MathShortestPath.cpp
........\MathShortestPath.dsp
........\StdAfx.cpp
........\StdAfx.h
MathShortestPath
MathPath
................\MathShortestPath.dsp
................\ReadMe.txt
................\StdAfx.cpp
................\StdAfx.h
....Path\MathShortestPath.cpp
........\MathShortestPath.dsp
........\StdAfx.cpp
........\StdAfx.h
MathShortestPath
MathPath