pub struct SitePercolation {
pub giant_size: Vec<usize>,
pub edge_count: Vec<usize>,
}Expand description
A site (vertex) percolation curve, see Graph::site_percolation.
Fields§
§giant_size: Vec<usize>giant_size[i] is the size of the largest component after the first
i + 1 vertices have been added.
edge_count: Vec<usize>edge_count[i] is the number of edges among the first i + 1 added
vertices.
Trait Implementations§
Source§impl Clone for SitePercolation
impl Clone for SitePercolation
Source§fn clone(&self) -> SitePercolation
fn clone(&self) -> SitePercolation
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 SitePercolation
impl Debug for SitePercolation
impl Eq for SitePercolation
Source§impl PartialEq for SitePercolation
impl PartialEq for SitePercolation
Source§fn eq(&self, other: &SitePercolation) -> bool
fn eq(&self, other: &SitePercolation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SitePercolation
Auto Trait Implementations§
impl Freeze for SitePercolation
impl RefUnwindSafe for SitePercolation
impl Send for SitePercolation
impl Sync for SitePercolation
impl Unpin for SitePercolation
impl UnsafeUnpin for SitePercolation
impl UnwindSafe for SitePercolation
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