Matlab_DFS_Maze_All_Solutions
所属分类:数据结构
开发工具:matlab
文件大小:1KB
下载次数:31
上传日期:2013-03-12 22:21:04
上 传 者:
qshbbh
说明: 本函数用深度优先遍历(回溯法)来求解迷宫的所有路径
maze:是迷宫矩阵,其中0表示可以去走的路
1表示障碍
2表示入口
3表示出径
5表示路径
(Road this function with a depth-first traversal (backtracking) to solve the maze path maze: a maze matrix, where 0 means you can go to go 1 shows the obstacles 2 entrance 3 shows the diameter 5 shows the path)
文件列表:
DFS_Maze.m (1725, 2013-03-12)
说明.txt (631, 2013-03-12)
近期下载者:
相关文件:
收藏者: