-
Maze-code
以一个m×n的长方阵表示迷宫,0和1分别表示迷宫中的通路和障碍。设计一个程序,对任意设定的迷宫,求出一条从入口到出口的通路,或得出没有通路的结论。首先用二维数组存储迷宫数据,迷宫数据由用户输入。一个以链表作存储结构的栈类型,然后编写一个求解迷宫的递归或非递归程序。求得的通路以三元组(i,j,d)形式输出,其中:(i,j)指示迷宫中的一个坐标,d表示走到下一坐标的方向(东、南、西、北四个方向所用代表数字,自行定义) (With an m × n the long square maze, 0 and 1, respectively maze of pathways and obstacles. Design a program, for any set of the maze, find a path from the inlet to the outlet, or come to the conclusion there is no path. First of a two-dimensional array to store the data maze, maze data input by the user. A linked list storage structure for stack type, and then write a recursive or non-recursive solving the maze procedure. Obtained access to triples (i, j, d) in the form of output, of which: (i, j) indicates the maze of a coordinate, d represents the coordinates walked next direction (east, south, west, north four directions used on behalf of a digital, self-defined))
- 2014-01-20 15:41:40下载
- 积分:1
-
YPTS
求解TSP问题的蚁群算法图形演示程序,并有相应的比例统计界面,重新编译程序后,再运行()
- 2018-05-28 13:03:14下载
- 积分:1
-
1531468
C # design pattern - builder mode C#设计模式--建造者模式(C # design pattern-builder mode C # Design pattern-architect pattern)
- 2019-05-23 12:48:34下载
- 积分:1
-
final_proj1
adaptive huffman coding and decoding in matlab..
- 2010-07-04 17:29:14下载
- 积分:1
-
MPU6050HMC5883
MPU6050+HMC5883+气压计 资料 (MPU6050/HMC5883 )
- 2014-08-31 12:29:16下载
- 积分:1
-
976556576
设置输入方法,C++Builder精选编程学习源码,很好的参考资料。(Set the input method, C++Builder select learning programming source code, a good reference.)
- 2013-11-22 11:36:28下载
- 积分:1
-
TIN_Voronoi
基于c#编程语言生成不规则三角网,能实现画点生成网型(Irregular Triangulation)
- 2018-05-21 16:01:59下载
- 积分:1
-
Fuzzy-risk-assessment-of-water
基于模糊概率的水资源短缺风险评价,对水资源的定量分析理论支撑(Fuzzy risk assessment of the probability of water shortage)
- 2011-06-02 17:28:10下载
- 积分:1
-
itto
在windows2000,windows XP,2003上修改网卡IP地址并编程使之生效(In Windows 2003, Windows XP, 2003, modified on the network card IP address and programming into law)
- 2017-04-11 13:42:05下载
- 积分:1
-
resist
说明: 一个resist的程序,用来nios 的resist的
初始化(a resist process for the nios resist the initialization)
- 2005-11-20 10:36:25下载
- 积分:1