From 002b936de6587476988fb6288eb30670f9c74a3b Mon Sep 17 00:00:00 2001 From: Edi De Candido Date: Mon, 17 Apr 2023 19:24:31 +0200 Subject: [PATCH] removed main.cpp --- src/main.cpp | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 src/main.cpp 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