pub struct AttractorConfig {
pub default_radius: f32,
pub default_warp_factor: f32,
pub reinforcement_boost: f32,
}Expand description
Configuration for attractor dynamics computation.
Fields§
§default_radius: f32Default influence radius in embedding space (cosine distance). Experiences beyond this radius have zero attractor influence.
default_warp_factor: f32How strongly attractors pull nearby queries. Higher values make high-strength experiences more dominant.
reinforcement_boost: f32Boost per application count when computing strength.
strength = importance * confidence * (1 + applications * boost)
Trait Implementations§
Source§impl Clone for AttractorConfig
impl Clone for AttractorConfig
Source§fn clone(&self) -> AttractorConfig
fn clone(&self) -> AttractorConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 AttractorConfig
impl Debug for AttractorConfig
Auto Trait Implementations§
impl Freeze for AttractorConfig
impl RefUnwindSafe for AttractorConfig
impl Send for AttractorConfig
impl Sync for AttractorConfig
impl Unpin for AttractorConfig
impl UnsafeUnpin for AttractorConfig
impl UnwindSafe for AttractorConfig
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more