diff --git a/src/Metrics.cc b/src/Metrics.cc index b6b5d8b..5c1343a 100644 --- a/src/Metrics.cc +++ b/src/Metrics.cc @@ -116,11 +116,18 @@ namespace bayesnet { { return entropy(firstFeature) - conditionalEntropy(firstFeature, secondFeature); } + /* + Compute the maximum spanning tree considering the weights as distances + and the indices of the weights as nodes of this square matrix using + Kruskal algorithm + */ vector> Metrics::maximumSpanningTree(Tensor& weights) { auto result = vector>(); - // Compute the maximum spanning tree considering the weights as distances - // and the indices of the weights as nodes of this square matrix + + + + return result; }