Add SPODE

This commit is contained in:
2023-07-14 12:59:47 +02:00
parent 002aa30672
commit e8b8fa29c8
7 changed files with 59 additions and 10 deletions

View File

@@ -121,7 +121,7 @@ namespace bayesnet {
and the indices of the weights as nodes of this square matrix using
Kruskal algorithm
*/
vector<pair<int, int>> Metrics::maximumSpanningTree(Tensor& weights)
vector<pair<int, int>> Metrics::maximumSpanningTree(int root, Tensor& weights)
{
auto result = vector<pair<int, int>>();