diff --git a/src/main.cpp b/src/main.cpp deleted file mode 100644 index 1d0e9e8..0000000 --- a/src/main.cpp +++ /dev/null @@ -1,27 +0,0 @@ -#include -#include <../inc/my_graph.h> - -const int n = 10000; - -int main() { - /* Matrix mat; - ofstream out_f("in_out/adj_matrix.out"); - out_f << mat << endl; - Graph list = mat2list(mat); - auto res = BFS(list, 1); - int src, dest, cost; - - while (true) { - cout << "insert src and dest [1, " << list.size() << "]\n"; - cin >> src >> dest; - res = BFS(list, src); - cost = res[dest - 1].depth; - cout << cost << endl; - } */ - ofstream out("data/adj_list.out"); - Matrix mat = read_file(); - Graph list = mat2list(mat); - mat.clear(); - mat = list2mat(list); - out << mat; -} \ No newline at end of file