pub fn diameter<G>(graph: &G) -> Option<usize>where
G: IndexUndirectedGraphView,Expand description
Returns the exact diameter of a connected graph.
pub fn diameter<G>(graph: &G) -> Option<usize>where
G: IndexUndirectedGraphView,Returns the exact diameter of a connected graph.