pub struct InfomapOptions {
pub trials: usize,
pub regularized: bool,
pub regularization_strength: f64,
}Expand description
Options of Graph::community_infomap.
Fields§
§trials: usizeNumber of attempts to partition the network, the best one is kept
(default 10, at least 1 and at most u32::MAX).
regularized: boolAdd a Bayesian prior network to avoid overfitting missing links
(default false).
regularization_strength: f64Multiplier of the default regularization strength (default 1.0).
Trait Implementations§
Source§impl Clone for InfomapOptions
impl Clone for InfomapOptions
Source§fn clone(&self) -> InfomapOptions
fn clone(&self) -> InfomapOptions
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 InfomapOptions
impl Debug for InfomapOptions
Source§impl Default for InfomapOptions
impl Default for InfomapOptions
Source§impl PartialEq for InfomapOptions
impl PartialEq for InfomapOptions
Source§fn eq(&self, other: &InfomapOptions) -> bool
fn eq(&self, other: &InfomapOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InfomapOptions
Auto Trait Implementations§
impl Freeze for InfomapOptions
impl RefUnwindSafe for InfomapOptions
impl Send for InfomapOptions
impl Sync for InfomapOptions
impl Unpin for InfomapOptions
impl UnsafeUnpin for InfomapOptions
impl UnwindSafe for InfomapOptions
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