pub struct CommunityConfig {
pub algorithm: CommunityAlgorithm,
pub scope: CommunityScope,
pub seed: u64,
pub resolution: f64,
pub minimum_confidence: f32,
pub edge_weights: Vec<CommunityEdgeWeight>,
pub max_iterations: u32,
}Expand description
Versioned reproducibility inputs for one community analysis.
Fields§
§algorithm: CommunityAlgorithmSelected algorithm.
scope: CommunityScopeAnalysis scope.
seed: u64Seed used to break otherwise equal deterministic choices.
resolution: f64Positive Louvain resolution.
minimum_confidence: f32Minimum accepted edge confidence.
edge_weights: Vec<CommunityEdgeWeight>Explicit relationship weights; unspecified kinds use weight one.
max_iterations: u32Maximum optimization passes.
Trait Implementations§
Source§impl Clone for CommunityConfig
impl Clone for CommunityConfig
Source§fn clone(&self) -> CommunityConfig
fn clone(&self) -> CommunityConfig
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 CommunityConfig
impl Debug for CommunityConfig
Source§impl<'de> Deserialize<'de> for CommunityConfig
impl<'de> Deserialize<'de> for CommunityConfig
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 JsonSchema for CommunityConfig
impl JsonSchema for CommunityConfig
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for CommunityConfig
impl PartialEq for CommunityConfig
Source§impl Serialize for CommunityConfig
impl Serialize for CommunityConfig
impl StructuralPartialEq for CommunityConfig
Auto Trait Implementations§
impl Freeze for CommunityConfig
impl RefUnwindSafe for CommunityConfig
impl Send for CommunityConfig
impl Sync for CommunityConfig
impl Unpin for CommunityConfig
impl UnsafeUnpin for CommunityConfig
impl UnwindSafe for CommunityConfig
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