文件名称:migong
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:6.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/MathShortestPath.dsp
MathShortestPath/ReadMe.txt
MathShortestPath/StdAfx.cpp
MathShortestPath/StdAfx.h
MathPath/MathShortestPath.cpp
MathPath/MathShortestPath.dsp
MathPath/StdAfx.cpp
MathPath/StdAfx.h
MathShortestPath
MathPath
MathShortestPath/MathShortestPath.dsp
MathShortestPath/ReadMe.txt
MathShortestPath/StdAfx.cpp
MathShortestPath/StdAfx.h
MathPath/MathShortestPath.cpp
MathPath/MathShortestPath.dsp
MathPath/StdAfx.cpp
MathPath/StdAfx.h
MathShortestPath
MathPath
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.