pub struct PathLengthHistogram {
pub counts: Vec<f64>,
pub unconnected: f64,
}Expand description
Histogram of shortest path lengths, see Graph::path_length_hist.
Fields§
§counts: Vec<f64>counts[i] is the number of vertex pairs at distance i + 1.
unconnected: f64The number of vertex pairs whose second vertex is unreachable from the first.
Trait Implementations§
Source§impl Clone for PathLengthHistogram
impl Clone for PathLengthHistogram
Source§fn clone(&self) -> PathLengthHistogram
fn clone(&self) -> PathLengthHistogram
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 moreSource§impl Debug for PathLengthHistogram
impl Debug for PathLengthHistogram
Source§impl Default for PathLengthHistogram
impl Default for PathLengthHistogram
Source§fn default() -> PathLengthHistogram
fn default() -> PathLengthHistogram
Returns the “default value” for a type. Read more
Source§impl PartialEq for PathLengthHistogram
impl PartialEq for PathLengthHistogram
Source§fn eq(&self, other: &PathLengthHistogram) -> bool
fn eq(&self, other: &PathLengthHistogram) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PathLengthHistogram
Auto Trait Implementations§
impl Freeze for PathLengthHistogram
impl RefUnwindSafe for PathLengthHistogram
impl Send for PathLengthHistogram
impl Sync for PathLengthHistogram
impl Unpin for PathLengthHistogram
impl UnsafeUnpin for PathLengthHistogram
impl UnwindSafe for PathLengthHistogram
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