/*Graph.h*/ template class Graph { public: virtual ~Graph() = 0; /*顶点操作*/ ... /*边操作*/ ... protected: int n; /