Files
data-structures-and-algorithms/homework5/Graph.h
T
2024-12-04 22:09:22 +08:00

28 lines
322 B
C++

//
// Created by 31416 on 24-12-4.
//
#ifndef GRAPH_H
#define GRAPH_H
#include<vector>
using namespace std;
template<typename T>
class Graph {
private:
vector<int> ids;
Graph *node;
int max_id;
public:
Graph() {
ids.clear();
node = NULL;
max_id = 0;
}
};
#endif //GRAPH_H