[−][src]Trait graph_neighbor_matching::Edges
Trait used by the internal algorithm.
Required methods
fn num_edges(&self) -> usize
The number of edges
fn nth_edge(&self, n: usize) -> Option<usize>
Returns the target node of the nth-edge
fn nth_edge_weight(&self, n: usize) -> Option<Closed01<f32>>
Returns the nth edge weight. We expect edge weights to be normalized in the range [0, 1].