代码搜索:vexnum
找到约 1,300 项符合「vexnum」的源代码
代码结果 1,300
www.eeworm.com/read/111443/15512593
cpp graph.cpp
#include
#include
//头函数定义
const int max_vexnum=100; //最大结点数
int vexnum,arcnum; //结点数和边数
int matrix[ma
www.eeworm.com/read/266818/11212137
cpp 555.cpp
#include<iostream>
#include<stdlib.h>//产生随机数组用
#include<time.h> //同上
#include"base" //所用到的自定义数据结构定义和实现文件
using namespace std;
bool IsCycle(Graph& graph,MyArc& arc);
www.eeworm.com/read/261501/11641258
txt 定义图.txt
typedef struct{
int V[M];
int R[M][M];
int vexnum;
}Graph;
www.eeworm.com/read/351570/10639528
cpp algo0707.cpp
void DFSForest(Graph G, CSTree &T) { // 算法7.7
// 建立无向图G的深度优先生成森林的(最左)孩子(右)兄弟链表T
int v; int j=0;
CSTree p,q;
T = NULL;
for (v=0; v
www.eeworm.com/read/351570/10639569
cpp algo0706.cpp
void BFSTraverse(Graph G, Status (*Visit)(int v )) {// 算法7.6
// 按广度优先非递归遍历图G。使用辅助队列Q和访问标志数组visited。
QElemType v,w;
queue Q;
QElemType u;
for (v=0; v
www.eeworm.com/read/349837/10797827
cpp algo0707.cpp
void DFSForest(Graph G, CSTree &T) { // 算法7.7
// 建立无向图G的深度优先生成森林的(最左)孩子(右)兄弟链表T
int v; int j=0;
CSTree p,q;
T = NULL;
for (v=0; v
www.eeworm.com/read/349837/10797850
cpp algo0706.cpp
void BFSTraverse(Graph G, Status (*Visit)(int v )) {// 算法7.6
// 按广度优先非递归遍历图G。使用辅助队列Q和访问标志数组visited。
QElemType v,w;
queue Q;
QElemType u;
for (v=0; v
www.eeworm.com/read/468871/6980808
cpp 校园导航.cpp
#define INFINITY 10000 /*无穷大*/
#define MAX_VERTEX_NUM 60
#define MAX 60
#include
#include
#include
#include
typedef struct ArCell
{
int adj; //路径长度
}ArC
www.eeworm.com/read/454633/7386509
cpp algo0707.cpp
void DFSForest(Graph G, CSTree &T) { // 算法7.7
// 建立无向图G的深度优先生成森林的(最左)孩子(右)兄弟链表T
int v; int j=0;
CSTree p,q;
T = NULL;
for (v=0; v