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