邻接矩阵c源码(构造邻接矩阵,深度优先遍历,广度优先遍历,最小生成树prim,kruskal算法)...
matrix.c#include#include#include#include#include"aqueue.h"#defineMAX_VALUEINT_MAX#defineMAX_NUM100typedefcharnode_type;typedefstructmatrix{node_typevertex[MAX_NUM];//节点信息intarcs[MAX_NUM][MAX_NUM];//矩阵