pub struct EmotionalGateConfig {
pub base: GateConfig,
pub arousal_reasoning_tighten: f64,
pub valence_narrative_tighten: f64,
pub intensity_functional_relief: f64,
}Expand description
Configuration for emotion-modulated gating.
Fields§
§base: GateConfigBase gate config (unmodified thresholds).
arousal_reasoning_tighten: f64How much arousal tightens the reasoning threshold (0.0–0.3). At 0.2, full arousal (1.0) adds 0.20 to the reasoning threshold.
valence_narrative_tighten: f64How much positive valence tightens the narrative threshold (0.0–0.3). At 0.15, full positive valence (+1.0) adds 0.15 to the narrative threshold.
intensity_functional_relief: f64How much emotional intensity relieves the FunctionalToPhenomenological penalty (0.0–0.3). At 0.20, full intensity reduces the penalty by 0.20. Example: penalty 0.45 → 0.45 - 0.20 = 0.25 (less harsh).
Implementations§
Source§impl EmotionalGateConfig
impl EmotionalGateConfig
pub fn new( base: GateConfig, arousal_reasoning_tighten: f64, valence_narrative_tighten: f64, intensity_functional_relief: f64, ) -> Self
Sourcepub fn modulate(&self, pad: PadState) -> GateConfig
pub fn modulate(&self, pad: PadState) -> GateConfig
Compute the modulated gate config given the current PAD state.
Trait Implementations§
Source§impl Clone for EmotionalGateConfig
impl Clone for EmotionalGateConfig
Source§impl Debug for EmotionalGateConfig
impl Debug for EmotionalGateConfig
Auto Trait Implementations§
impl Freeze for EmotionalGateConfig
impl RefUnwindSafe for EmotionalGateConfig
impl Send for EmotionalGateConfig
impl Sync for EmotionalGateConfig
impl Unpin for EmotionalGateConfig
impl UnsafeUnpin for EmotionalGateConfig
impl UnwindSafe for EmotionalGateConfig
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,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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