图的邻接矩阵表示c++

#include<iostream> #include<queue> using namespace std; enum graphtype { undigraph, digraph, undinetwork, dinetwork };//枚举 template<class T> struct edgetype { T head, tail; int cost; edgetype(T h,
相关文章
相关标签/搜索