pub struct PathLengthHistResult {
pub hist: Vec<f64>,
pub unconnected: f64,
}Expand description
Result of path_length_hist.
hist[d] is the number of vertex pairs whose shortest-path distance
is d + 1 (so hist[0] counts pairs at distance 1, hist[1] at
distance 2, etc.). For undirected treatment each unordered pair is
counted once; for directed each ordered pair.
unconnected is the number of (ordered or unordered, matching above)
pairs for which no path exists.
Fields§
§hist: Vec<f64>hist[d] = count of vertex pairs at distance d + 1.
unconnected: f64Number of vertex pairs with no connecting path.
Trait Implementations§
Source§impl Clone for PathLengthHistResult
impl Clone for PathLengthHistResult
Source§fn clone(&self) -> PathLengthHistResult
fn clone(&self) -> PathLengthHistResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PathLengthHistResult
impl RefUnwindSafe for PathLengthHistResult
impl Send for PathLengthHistResult
impl Sync for PathLengthHistResult
impl Unpin for PathLengthHistResult
impl UnsafeUnpin for PathLengthHistResult
impl UnwindSafe for PathLengthHistResult
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