#ifndef TRIE_H #define TRIE_H #include #include #include #include "PriorityQueue.h" class Graph { public: Graph(int maxCount, bool mst); ~Graph(); bool Insert(int a, int b, int weight); bool Delete(int a); std::vector> *GetAdjacent(int a); int GetVertexCount(); int MST(std::vector> *outList); private: PriorityQueue *pq; std::vector> adjacencyList[50001]; // An array of vectors of tuples std::vector> vertexList; // List of all vertices in the graph stored as int maxCount; bool mstEnabled; }; #endif