pub struct LouvainOptions {
pub resolution: PositiveFiniteF64,
pub threshold: NonNegativeFiniteF64,
pub seed: u64,
pub max_levels: NonZeroUsize,
}Expand description
Proper weighted multi-level Louvain options.
Fields§
§resolution: PositiveFiniteF64Positive finite modularity resolution.
threshold: NonNegativeFiniteF64Non-negative finite minimum modularity improvement.
seed: u64Deterministic node-visit seed.
max_levels: NonZeroUsizeMaximum aggregation levels.
Trait Implementations§
Source§impl Clone for LouvainOptions
impl Clone for LouvainOptions
Source§fn clone(&self) -> LouvainOptions
fn clone(&self) -> LouvainOptions
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 moreimpl Copy for LouvainOptions
Source§impl Debug for LouvainOptions
impl Debug for LouvainOptions
Source§impl Default for LouvainOptions
impl Default for LouvainOptions
Source§impl<'de> Deserialize<'de> for LouvainOptions
impl<'de> Deserialize<'de> for LouvainOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for LouvainOptions
impl PartialEq for LouvainOptions
Source§impl Serialize for LouvainOptions
impl Serialize for LouvainOptions
impl StructuralPartialEq for LouvainOptions
Auto Trait Implementations§
impl Freeze for LouvainOptions
impl RefUnwindSafe for LouvainOptions
impl Send for LouvainOptions
impl Sync for LouvainOptions
impl Unpin for LouvainOptions
impl UnsafeUnpin for LouvainOptions
impl UnwindSafe for LouvainOptions
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