pub struct ERCfg {
pub node_len: usize,
pub edge_prob: f64,
pub self_conn: bool,
pub back_strict: bool,
pub max_from: usize,
pub max_to: usize,
}
Expand description
Erdős-Rényi model
Fields§
§node_len: usize
§edge_prob: f64
§self_conn: bool
§back_strict: bool
§max_from: usize
§max_to: usize
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ERCfg
impl RefUnwindSafe for ERCfg
impl Send for ERCfg
impl Sync for ERCfg
impl Unpin for ERCfg
impl UnwindSafe for ERCfg
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