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