refactor main

This commit is contained in:
2023-07-15 20:23:43 +02:00
parent e3863387bb
commit 29aca0b35f
3 changed files with 24 additions and 26 deletions

View File

@@ -127,6 +127,5 @@ namespace bayesnet {
auto result = vector<pair<int, int>>();
auto mst = MST(features, weights, root);
return mst.maximumSpanningTree();
}
}

View File

@@ -108,7 +108,6 @@ namespace bayesnet {
}
}
g.kruskal_algorithm();
//g.display_mst();
auto mst = g.get_mst();
return reorder(mst, root);
}