pub struct AveragePathLength {
pub average: f64,
pub unconnected_pairs: f64,
}Expand description
Average shortest path length and number of disconnected pairs, see
Graph::average_path_length_details.
Fields§
§average: f64The average length of the shortest paths.
unconnected_pairs: f64The number of ordered vertex pairs (u, v) such that v is not
reachable from u.
Trait Implementations§
Source§impl Clone for AveragePathLength
impl Clone for AveragePathLength
Source§fn clone(&self) -> AveragePathLength
fn clone(&self) -> AveragePathLength
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AveragePathLength
Source§impl Debug for AveragePathLength
impl Debug for AveragePathLength
Source§impl Default for AveragePathLength
impl Default for AveragePathLength
Source§fn default() -> AveragePathLength
fn default() -> AveragePathLength
Returns the “default value” for a type. Read more
Source§impl PartialEq for AveragePathLength
impl PartialEq for AveragePathLength
Source§fn eq(&self, other: &AveragePathLength) -> bool
fn eq(&self, other: &AveragePathLength) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AveragePathLength
Auto Trait Implementations§
impl Freeze for AveragePathLength
impl RefUnwindSafe for AveragePathLength
impl Send for AveragePathLength
impl Sync for AveragePathLength
impl Unpin for AveragePathLength
impl UnsafeUnpin for AveragePathLength
impl UnwindSafe for AveragePathLength
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more