#include #include #include #defineINFINITYINT_MAX #defineMAX_VERTEX_NUM20//最大顶点数为20// typedefintVRType; typedefintInfoType; typedefcharVerTexType; typedefstructArcCell//邻接矩阵定义// {VRTypeadj; InfoType*info;}ArcCell,AdjMatrix[MAX_VERTEX_NUM]