| 137 | } |
| 138 | |
| 139 | SpanningTree ComputeMinimumSpanningTree( |
| 140 | int num_nodes, |
| 141 | const std::vector<std::pair<int, int>>& edges, |
| 142 | const std::vector<float>& weights, |
| 143 | int root) { |
| 144 | return ComputeSpanningTreeInternal(num_nodes, edges, weights, root, false); |
| 145 | } |
| 146 | |
| 147 | } // namespace colmap |