pub struct DyadCensus {
pub mutual: f64,
pub asymmetric: f64,
pub null: f64,
}Expand description
The dyad census of a graph, see Graph::dyad_census.
mutual + asymmetric + null == n (n - 1) / 2 for n vertices.
Fields§
§mutual: f64Pairs connected in both directions.
asymmetric: f64Pairs connected in exactly one direction.
null: f64Unconnected pairs.
Trait Implementations§
Source§impl Clone for DyadCensus
impl Clone for DyadCensus
Source§fn clone(&self) -> DyadCensus
fn clone(&self) -> DyadCensus
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 DyadCensus
Source§impl Debug for DyadCensus
impl Debug for DyadCensus
Source§impl PartialEq for DyadCensus
impl PartialEq for DyadCensus
Source§fn eq(&self, other: &DyadCensus) -> bool
fn eq(&self, other: &DyadCensus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DyadCensus
Auto Trait Implementations§
impl Freeze for DyadCensus
impl RefUnwindSafe for DyadCensus
impl Send for DyadCensus
impl Sync for DyadCensus
impl Unpin for DyadCensus
impl UnsafeUnpin for DyadCensus
impl UnwindSafe for DyadCensus
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