Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - bfs
Search - bfs - List
DL : 0
数据结构课程设计的,选存储结构,输入含n个顶点(用字符表示顶点)和e 条边的图G; (2)求每个顶点的度,输出结果; (3)指定任意顶点x为初始顶点,对图G作DFS遍历,输出DFS 顶点序列(提示:使用一个栈实现DFS); (4)指定任意顶点x为初始顶点,对图G作BFS遍历,输出BFS 顶点序列(提示:使用一个队列实现BFS); (5)输入顶点x,查找图G:若存在含x的顶点,则删除该结点及 与之相关连的边,并作DFS遍历(执行操作3);否则输出信 息“无x”; (6)判断图G是否是连通图,输出信息“YES”/“NO”; -Data structures course, choose the storage structure, input containing n vertices vertex (character) and e edges in the graph G (2) Find the degree of each vertex, the output results (3) specify an arbitrary vertex xinitial vertex DFS traversal on the graph G, the output DFS sequence of vertices (hint: use a stack to achieve DFS) (4) specify an arbitrary vertex x is the initial vertex for BFS traversal of a graph G, the output the BFS vertex sequence (Hint: achieve the BFS uses a queue) (5) input vertices x, find the graph G: If the vertices containing x, then delete the node connected with the side, and for the DFS traversal (perform operations) otherwiseoutput "x" (6) to judge a graph G is a connected graph, output "yES"/"nO"
Update : 2024-05-16 Size : 228352 Publisher : 王俊超

图的遍历示例。包括深度优先和广度优先。控制台程序。-Graph traversal.DFS and BFS.
Update : 2024-05-16 Size : 6144 Publisher : Chen

DL : 0
对于BFT算法的一种实现,并实现了一个BFS(基于BFT算法的文件系统)-For an implementation of the BFT algorithm, and one of the BFS (BFT algorithm-based file system)
Update : 2024-05-16 Size : 2654208 Publisher : york

回溯法求猫抓老鼠问题,要求输入m*n的地图,随机生成障碍物,求猫爪老鼠的路径-cat to find a way catch mouse by bfs
Update : 2024-05-16 Size : 2048 Publisher : lxd

DL : 0
本源码实现了图的基本操作。BFS,DFS,邻接矩阵,邻接链表,矩阵变换,拓扑排序等。-This code is about Basic opereation of Graph.Such as BFS,DFS,adjacent-matrix/list matrixing and topical sort etc.
Update : 2024-05-16 Size : 2048 Publisher : 人类

以邻接多重表为存储结构,实现无向连通图的深度优先和广度优先遍历。-This paper is to solve the traversal of the graph using DFS BFS
Update : 2024-05-16 Size : 2048 Publisher : flyoverls

DL : 0
This the source-code for the algorithm breadth-first search.-This is the source-code for the algorithm breadth-first search.
Update : 2024-05-16 Size : 14336 Publisher : idomiralin

DL : 0
关于图的广度优先搜索和深度优先搜索算法,结构体描述。还有二叉树的重建,根据先序和中序重构二叉树-DFS and BFS
Update : 2024-05-16 Size : 1024 Publisher : qinzhaokun

DL : 0
基本的六个算法包括DFS BFS GREEDY RESEARCH-6 basic search methods
Update : 2024-05-16 Size : 10240 Publisher : leili

DL : 0
BFS algorithm in C-BFS algorithm in C++
Update : 2024-05-16 Size : 3992576 Publisher : Phung Tri

DL : 0
1) 先任意创建一个图; 2) 图的DFS,BFS的递归和非递归算法的实现 3) 最小生成树(两个算法)的实现,求连通分量的实现 4) 要求用邻接矩阵、邻接表、十字链表多种结构存储实现-A) any first create a graph 2) DFS, BFS recursive and non recursive algorithm 3) The minimum spanning tree (algorithm) to achieve, find the connected components to achieve 4) request with adjacency matrix, adjacency list cross-linked lists a variety of structural storage implementation
Update : 2024-05-16 Size : 4096 Publisher : liliaaa

DL : 0
Program resolves First Weight Search
Update : 2024-05-16 Size : 663552 Publisher : Memin

DL : 0
some source codes of good algorithms as DFS, BFS etc in graph theory.
Update : 2024-05-16 Size : 676864 Publisher : venu gopal

DL : 0
共轭梯度法计算线性方程组的代码。本段代码采用了F90的风格书写。注意共轭梯度法只适用于对称正定的矩阵。-Conjugate gradient method to calculate the linear equations of the code. The section of code uses the the F90 style of writing. Note conjugate gradient method is only applicable to symmetric positive definite matrix.
Update : 2024-05-16 Size : 2048 Publisher : 胡义勇

DL : 0
ACM练习题 zju1024 zju1940 zju2097 pku2503 toj2196 zju1091 zju1507 zju1649 graph bfs-ACM exercises zju1024 zju1940 zju2097 pku2503 toj2196 zju1091 zju1507 zju1649
Update : 2024-05-16 Size : 7168 Publisher : kenneth

DL : 0
Bfs water jug problem
Update : 2024-05-16 Size : 17408 Publisher : andra

JSP/Java2
DL : 0
 1)自选存储结构,输入含n个顶点(用字符表示顶点)和e 条边的图G; (2)求每个顶点的度,输出结果; (3)指定任意顶点x为初始顶点,对图G作DFS遍历,输出DFS 顶点序列(提示:使用一个栈实现DFS); (4)指定任意顶点x为初始顶点,对图G作BFS遍历,输出BFS 顶点序列(提示:使用一个队列实现BFS); (5)输入顶点x,查找图G:若存在含x的顶点,则删除该结点及 与之相关连的边,并作DFS遍历(执行操作3);否则输出信 息“无x”; (6)判断图G是否是连通图,输出信息“YES”/“NO”; (7)如果选用的存储结构是邻接矩阵,则用邻接矩阵的信息生 成图G的邻接表,即复制图G,然再执行操作(2);反之亦然。-i don t know.
Update : 2024-05-16 Size : 2048 Publisher : 高兴

En este programa se introduce un estado inicial y un estado final y genera un arbol en el cual busca el estado final mediante el algoritmo de busqueda por profundidad
Update : 2024-05-16 Size : 37888 Publisher : pollo

DL : 0
This program solves the puzzle by profema of 8 DFS algorithm
Update : 2024-05-16 Size : 1024 Publisher : pollo

This program implements the search algorithm depth in the 8 puzzle problem
Update : 2024-05-16 Size : 2048 Publisher : pollo
« 1 2 ... 8 9 10 11 12 1314 15 16 17 18 19 20 »
DSSZ is the largest source code store in internet!
Contact us :
1999-2046 DSSZ All Rights Reserved.