pub struct ClosenessCutoffResult {
pub scores: Vec<Option<f64>>,
pub reachable_count: Vec<u32>,
pub all_reachable: bool,
}Expand description
Result of closeness_cutoff.
Fields§
§scores: Vec<Option<f64>>Per-vertex closeness score. None for vertices with no reachable
neighbours within the cutoff distance.
reachable_count: Vec<u32>Per-vertex count of vertices reachable within the cutoff (excluding self).
all_reachable: boolWhether all vertices are reachable from every source within the cutoff.
Trait Implementations§
Source§impl Clone for ClosenessCutoffResult
impl Clone for ClosenessCutoffResult
Source§fn clone(&self) -> ClosenessCutoffResult
fn clone(&self) -> ClosenessCutoffResult
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 ClosenessCutoffResult
impl RefUnwindSafe for ClosenessCutoffResult
impl Send for ClosenessCutoffResult
impl Sync for ClosenessCutoffResult
impl Unpin for ClosenessCutoffResult
impl UnsafeUnpin for ClosenessCutoffResult
impl UnwindSafe for ClosenessCutoffResult
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