文件名称:maze
-
所属分类:
- 标签属性:
- 上传时间:2013-05-14
-
文件大小:261.06kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
本代码实现的是一个简单迷宫问题。以一个m*n的长方阵表示迷宫,0和1分别表示迷宫中的通路和障碍。设计一个程序,对任意设定的迷宫,求出一条从入口到出口的通路,豁得出没有同路的结论。
基本要求为:
首先实现一个以链表做存储结构的栈类型,然后编写一个求解迷宫的非递归程序,求得的通路一三元组(i,j,d)的形式输出,其中:(i,i)指示迷宫中的一个坐标,d表示走到下一坐标的方向。-The implementation of the code is a simple maze. A m* n the long square maze, 0 and 1, respectively pathways and obstacles in the maze. Design a program, any set of maze, find a path from the entrance to the exit, excluded conclusions drawn not go the same way. Basic requirements: First a linked list storage structure stack type, and then write a non-recursive program to solve the maze, the obtained path triples (i, j, d) in the form of output, of which: (i i) directing the maze of a coordinate, d go to the next coordinate direction.
基本要求为:
首先实现一个以链表做存储结构的栈类型,然后编写一个求解迷宫的非递归程序,求得的通路一三元组(i,j,d)的形式输出,其中:(i,i)指示迷宫中的一个坐标,d表示走到下一坐标的方向。-The implementation of the code is a simple maze. A m* n the long square maze, 0 and 1, respectively pathways and obstacles in the maze. Design a program, any set of maze, find a path from the entrance to the exit, excluded conclusions drawn not go the same way. Basic requirements: First a linked list storage structure stack type, and then write a non-recursive program to solve the maze, the obtained path triples (i, j, d) in the form of output, of which: (i i) directing the maze of a coordinate, d go to the next coordinate direction.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
maze/
maze/Debug/
maze/Debug/maze.exe
maze/Debug/maze.ilk
maze/Debug/maze.obj
maze/Debug/maze.opt
maze/Debug/maze.pch
maze/Debug/maze.pdb
maze/Debug/vc60.idb
maze/Debug/vc60.pdb
maze/maze.cpp
maze/maze.dsp
maze/maze.dsw
maze/maze.h
maze/maze.ncb
maze/maze.opt
maze/maze.plg
maze/maze.txt
maze/maze1.txt
maze/maze2.txt
maze/Debug/
maze/Debug/maze.exe
maze/Debug/maze.ilk
maze/Debug/maze.obj
maze/Debug/maze.opt
maze/Debug/maze.pch
maze/Debug/maze.pdb
maze/Debug/vc60.idb
maze/Debug/vc60.pdb
maze/maze.cpp
maze/maze.dsp
maze/maze.dsw
maze/maze.h
maze/maze.ncb
maze/maze.opt
maze/maze.plg
maze/maze.txt
maze/maze1.txt
maze/maze2.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.