pub struct SourceConditionalAccountPairConfig {
pub enabled: bool,
pub concentration: f64,
pub accts_per_source_target: usize,
}Expand description
SOTA-8 — per-source Dirichlet over account pairs. Concentration α controls
per-source structure tightness (low α = razor-tight prior, high α = diffuse);
accts_per_source_target controls the per-source account-pool size.
Fields§
§enabled: boolEnable the source-conditional account-pair sampler (default off).
concentration: f64Symmetric Dirichlet α — lower = more concentrated PMF per source. α=0.5 + N_s=25 ⇒ expected normalised entropy ≈ 0.65 (corpus median 0.68).
accts_per_source_target: usizeExpected distinct accounts per source (jittered by LogNormal(0, 0.3)). Corpus median 23.5; synth pre-SOTA-8 is ~5.
Trait Implementations§
Source§impl Clone for SourceConditionalAccountPairConfig
impl Clone for SourceConditionalAccountPairConfig
Source§fn clone(&self) -> SourceConditionalAccountPairConfig
fn clone(&self) -> SourceConditionalAccountPairConfig
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<'de> Deserialize<'de> for SourceConditionalAccountPairConfig
impl<'de> Deserialize<'de> for SourceConditionalAccountPairConfig
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 SourceConditionalAccountPairConfig
impl PartialEq for SourceConditionalAccountPairConfig
Source§fn eq(&self, other: &SourceConditionalAccountPairConfig) -> bool
fn eq(&self, other: &SourceConditionalAccountPairConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SourceConditionalAccountPairConfig
Auto Trait Implementations§
impl Freeze for SourceConditionalAccountPairConfig
impl RefUnwindSafe for SourceConditionalAccountPairConfig
impl Send for SourceConditionalAccountPairConfig
impl Sync for SourceConditionalAccountPairConfig
impl Unpin for SourceConditionalAccountPairConfig
impl UnsafeUnpin for SourceConditionalAccountPairConfig
impl UnwindSafe for SourceConditionalAccountPairConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.