Function spanning_tree_weight
Source pub fn spanning_tree_weight<T, S>(tree: &S) -> SparseResult<T>
Expand description
Compute the weight of a spanning tree
§Arguments
tree
- The spanning tree as a sparse matrix
§Returns
Total weight of the spanning tree