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

Method either

src/graph/mst/edge.rs:23–25  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

21 }
22
23 pub fn either(&self) -> usize {
24 self.v
25 }
26
27 pub fn other(&self, v: usize) -> usize {
28 if self.v == v {

Callers 5

newMethod · 0.80
checkMethod · 0.80
checkMethod · 0.80
primMethod · 0.80
checkMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected