pub struct LouvainOptions {
pub resolution: PositiveFiniteF64,
pub threshold: NonNegativeFiniteF64,
pub seed: u64,
pub max_levels: NonZero<usize>,
}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: NonZero<usize>Maximum 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§fn default() -> LouvainOptions
fn default() -> LouvainOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LouvainOptions
impl<'de> Deserialize<'de> for LouvainOptions
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LouvainOptions, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LouvainOptions, <__D as Deserializer<'de>>::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
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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