/-------------------------严蔚敏《数据结构》邻接表定义--------------------------/typedefstructArcNode{
int adjvex;//Vertex location this arc points to 本弧所指向的顶点structArcNode*nextarc;//Pointer pointing to next Arc 指向下一条弧指针
InfoType *info;//Related information pointer about THIS Arc,该弧相关指针}ArcNode;typedefstructVNode{
VertexType data;//Vertex informaiton
ArcNode *firstarc;// First arc incident to this Arc}VNode,AdjList[MAX_VERTEX_NUM];/-------------------------严蔚敏《数据结构》邻接表定义------------------------