MCPcopy Create free account
hub / github.com/TheAlgorithms/Go / minEdge

TypeAlias minEdge

graph/prim.go:12–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10)
11
12type minEdge []Edge
13
14func (h minEdge) Len() int { return len(h) }
15func (h minEdge) Less(i, j int) bool { return h[i].Weight < h[j].Weight }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected