摘要: 就拿这个图做实验了#include<iostream>#include<vector>#include<queue>using namespace std;struct ArcNode{ //弧结点结构 int adjvex; //邻接顶点 ArcNode *nextarc; //下一条弧};template <class T>struct VertextNode{ //表头结点结构 T Vertext; //顶点 ArcNode* firstArc; //第一条弧};const int MAXSIZE=10;template<class 阅读全文
posted @ 2011-04-23 18:16 张朝阳 阅读(4383) 评论(0) 推荐(0) 编辑