搜索资源列表
java_g
- java 写的 深度优先搜索算法和广度优先搜索算法-java
DataStructure8
- Java数据结构第七课:图的实现。包括初始化图,添加边,删除边,及深度优先遍历和广度优先遍历算法。-Java Data Structure Lesson: Figure of the implementation. Including the initialization graph, add edge, remove edge, and depth-first traversal and breadth-first traversal algorithm.
search-file
- 2. 设计一个程序,实现文件查找。文件查找操作是一项非常基本的操作,一般的文件查找操作采用递归算法,实际上是采用“深度优先”的策略。请设计一个基于“广度优先”算法的文件查找程序。 提示:由于要找的文件往往距离待查文件夹最近的文件加中。因此,基于“广度优先”算法的文件查找的效率会优于“深度优先”算法。可以将待搜索的文件夹放入一个队列,然后列出该文件夹下所有成员:如果是文件,则与查找条件进行匹配;如果是文件夹,则将其放入队列。在次从队列头取文件夹,执行同样逻辑,直到队列为空。 - De
BFSaDFS
- 基于java语言实现的树的深度优先搜索和广度优先搜索-Based on java language tree depth-first search and breadth-first search
Eight
- 八数码难题的java源代码,采用的是广度优先算法。-Eight puzzle java source code, using the breadth-first algorithm.
graph
- java实现构建图的过程,以及深优先度搜索和广度优先搜索,有详细注释-Java implementation process for constructing a map, as well as depth priority search and breadth-first search, detailed notes
Game
- 野人过河问题的Java实现,广度优先搜索(three men and three masters to cross the river)
MAZE_TEST
- 一个用java写的迷宫小程序,能自动生成迷宫,并使用深度优先和广度优先算法解迷宫(A small program written in java maze, can automatically generate mazes, and the use of depth first and breadth first algorithm to solve the maze)