MCPcopy Create free account
hub / github.com/douchuan/algorithm / degree

Method degree

src/graph/mst/ew_graph.rs:67–69  ·  view source on GitHub ↗
(&self, v: usize)

Source from the content-addressed store, hash-verified

65 }
66
67 fn degree(&self, v: usize) -> usize {
68 self.adj[v].len()
69 }
70}
71
72impl From<usize> for EWGraph {

Callers

nothing calls this directly

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected