pub trait EdgeCount: GraphBase {
// Required method
fn edge_count(&self) -> usize;
}
Expand description
A graph with a known edge count.
Required Methods§
Sourcefn edge_count(&self) -> usize
fn edge_count(&self) -> usize
Return the number of edges in the graph.