removed main.cpp

This commit is contained in:
Edi De Candido 2023-04-17 19:24:31 +02:00
parent fae826e2d0
commit 002b936de6
1 changed files with 0 additions and 27 deletions

View File

@ -1,27 +0,0 @@
#include <fstream>
#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;
}