MCPcopy Index your code
hub / github.com/TheAlgorithms/Rust / prim

Function prim

src/graph/prim.rs:13–20  ·  view source on GitHub ↗

selects a start and run the algorithm from it

(
    graph: &Graph<V, E>,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

prim_with_startFunction · 0.85
nextMethod · 0.45

Tested by

no test coverage detected