Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - DFS non recursive
Search - DFS non recursive - List
用普里姆(Prim)算法构造最小生成树;图的DFS算法的非递归遍历函数。-with Primbetov (PRIM), the minimum spanning tree algorithm constructs; Map of the DFS non - recursive algorithm traversal function.
Date : 2008-10-13 Size : 3.82kb User : 贾德

用普里姆(Prim)算法构造最小生成树;图的DFS算法的非递归遍历函数。-with Primbetov (PRIM), the minimum spanning tree algorithm constructs; Map of the DFS non- recursive algorithm traversal function.
Date : 2025-12-24 Size : 4kb User : 贾德

 MatToList(MGraph g,ALGraph *&G):将邻接矩阵g转换成邻接表G。  ListToMat(ALGraph *G,MGraph &g):将邻接表G转换成邻接矩阵g。  DispMat(MGraph g):输出邻接矩阵g。  DispAdj(ALGraph *G):输出邻接表G。  DFS(ALGraph *G,int v):以递归的方法从顶点v深度优先遍历图G。  DFS1(ALGraph *G,int v):以非递归的方法从顶点v深度优先遍历图G。  BFS(ALGraph *G,int v):从顶点v广度优先遍历图G。 - MatToList (MGraph g, ALGraph* & G): the adjacency matrix adjacency list g into G.  ListToMat (ALGraph* G, MGraph & g): the adjacent table adjacency matrix G into g.  DispMat (MGraph g): output adjacency matrix g.  DispAdj (ALGraph* G): output adjacency list G.  DFS (ALGraph* G, int v): to the method of recursive vertex v from the depth-first traversal graph G.  DFS1 (ALGraph* G, int v): non-recursive method to vertex v from the depth-first traversal graph G.  BFS (ALGraph* G, int v): vertex v from the breadth-first traversal graph G.
Date : 2025-12-24 Size : 3kb User : 小鬼
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.