pub struct Personality {
pub curiosity_drive: f32,
pub startle_sensitivity: f32,
pub recovery_speed: f32,
}Expand description
Dynamic personality modulators.
These three parameters are bounded in [0.0, 1.0] and modulate the rate of coherence change, not the structural invariants (CCF-003).
Patent Claim 3 (modulators).
Fields§
§curiosity_drive: f32Drive to explore new contexts. Scales the cold-start baseline and the rate of positive coherence accumulation.
Range [0.0, 1.0]. Default 0.5.
startle_sensitivity: f32Sensitivity to startling or aversive events. Scales the magnitude of negative-interaction drops.
Range [0.0, 1.0]. Default 0.5.
recovery_speed: f32Speed of coherence recovery after disruption. Scales the delta applied by positive interactions.
Range [0.0, 1.0]. Default 0.5.
Implementations§
Source§impl Personality
impl Personality
Sourcepub fn modulate_coherence_gain(&self, base: f32) -> f32
pub fn modulate_coherence_gain(&self, base: f32) -> f32
Scale a base coherence gain delta by this personality’s recovery_speed.
Returns base * (0.5 + recovery_speed), clamped to [0.0, 2.0 * base].
Sourcepub fn modulate_startle_drop(&self, base: f32) -> f32
pub fn modulate_startle_drop(&self, base: f32) -> f32
Scale a base startle drop by this personality’s startle_sensitivity.
Returns base * (0.5 + startle_sensitivity), clamped to [0.0, 2.0 * base].
Trait Implementations§
Source§impl Clone for Personality
impl Clone for Personality
Source§fn clone(&self) -> Personality
fn clone(&self) -> Personality
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more