#include<stdio.h>
#include<stdlib.h>
#include<malloc.h>
#define Max 100
#define INFINITY 10000
typedef int Vertex;
typedef int WeightType;
typedef char DataType;
typedef struct ENode {
int V1, V2;
int Weight;
}Edge;
typedef struct GNode {
int Nv;
int Ne;
int G[Max][Max];
//DataType Data[MaxVertexNum];
/* 注意:很多情况下,顶点无数据,此时Data[]可以不用出现 */
}MGraph;
MGraph* Creat(int num)
{
MGraph* g<
图零阶矩阵的建立
最新推荐文章于 2021-06-04 20:31:14 发布