MCPcopy Create free account
hub / github.com/colmap/colmap / ComputeMinimumSpanningTree

Function ComputeMinimumSpanningTree

src/colmap/math/spanning_tree.cc:139–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137}
138
139SpanningTree 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

Callers 1

TESTFunction · 0.85

Calls 1

Tested by 1

TESTFunction · 0.68