// File GraphMat.h #ifndef GRAFO_MA_H #define GRAFO_MA_H #include "Graph.h" class GraphMat : public Graph {public: GraphMat(int s) : Graph(s); ~GraphMat(); GraphMat(const GraphMat&); GraphMat& operator=(const GraphMat&); bool is_arc(int i, int j) { return mat[i][j]; } void add_arc(int i, int j) { mat[i][j] = true; } void del_Arc(int i, int j) { mat[i][j] = false; } protected: bool **mat; }; #endif