pub struct EdgelistPercolation {
pub giant_size: Vec<u32>,
pub vertex_count: Vec<u32>,
}Expand description
Outputs of edgelist_percolation. Same length as the input
edge slice. giant_size[i] is the size of the largest component
after edge i is added; vertex_count[i] is the number of
distinct vertices touched by edges 0..=i.
Fields§
§giant_size: Vec<u32>Size of the largest connected component after edge i is added.
vertex_count: Vec<u32>Cumulative count of distinct vertices touched by any edge in 0..=i.
Trait Implementations§
Source§impl Clone for EdgelistPercolation
impl Clone for EdgelistPercolation
Source§fn clone(&self) -> EdgelistPercolation
fn clone(&self) -> EdgelistPercolation
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 moreSource§impl Debug for EdgelistPercolation
impl Debug for EdgelistPercolation
Source§impl PartialEq for EdgelistPercolation
impl PartialEq for EdgelistPercolation
impl StructuralPartialEq for EdgelistPercolation
Auto Trait Implementations§
impl Freeze for EdgelistPercolation
impl RefUnwindSafe for EdgelistPercolation
impl Send for EdgelistPercolation
impl Sync for EdgelistPercolation
impl Unpin for EdgelistPercolation
impl UnsafeUnpin for EdgelistPercolation
impl UnwindSafe for EdgelistPercolation
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