搜索资源列表
Maze.rar
- 这个下程序是用回溯法解决走迷宫问题。这个程序里面的关于迷宫的数据结构设计比较好,可以借鉴借鉴!,This process is back under the law to resolve the issue Maze. Inside the process of data on the structural design of the maze is better, you can learn from!
migong
- 迷宫问题,有详细的注释,实现了自己设置入口出口,可找所有路径和最短路径并输出所有路径-Maze problem, there are detailed notes, to achieve its own entrance exit he could find all the paths and the shortest path and the output of all paths
maze
- 迷宫问题,C++编写,codeblocks环境下,可以用vc打开我的主文件,自己编译-Maze problem, C++ written, codeblocks environment, you can use vc to open my main file, compile it yourself
算法设计
- 问题描述:以一个m×n的长方形表示迷宫,0和1分别表示迷宫中的通路和障碍。设计一个程序,对任意设定的迷宫,求出一条从入口到出口的通路,或得出没有通路的结论。 基本要求:首先实现一个以链表作存储结构的栈类型,然后编写一个求解迷宫的非递归程序。求得的通路以三元组(i,j,d)的形式输出,其中:(i,j)指示迷宫中的一个坐标,d表示走到下一坐标的方向。(Problem Descr iption: a m * n rectangle represents the maze, and 0 and 1 i
maze
- 迷宫问题,可以自己设计迷宫,然后通过程序找到相应的出口。(You can design maze by yourself,then find the appropriate exit through the program.)
迷宫求解
- 迷宫问题是取自心理学的一个古典实验。在该实验中,把一只老鼠从一个无顶大盒子的门放入,在盒子中设置了许多墙,对行进方向形成了多处阻挡。盒子仅有一个出口,在出口处放置一块奶酪,吸引老鼠在迷宫中寻找道路以到达出口。对同一只老鼠重复进行上述实验,一直到老鼠从入口走到出口,而不走错一步。老鼠经过多次试验最终学会走通迷宫的路线。设计一个计算机程序对任意设定的矩形迷宫如下图A所示,求出一条从入口到出口的通路,或得出没有通路的结论。(The maze problem is a classical experim