MCPcopy Create free account
hub / github.com/EbTech/rust-algorithms / merge

Method merge

src/graph/mod.rs:36–40  ·  view source on GitHub ↗

Merges the sets containing u and v into a single set containing their union. Returns true if u and v were previously in different sets.

(&mut self, u: usize, v: usize)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

min_spanning_treeMethod · 0.80

Calls 1

findMethod · 0.80

Tested by

no test coverage detected