pub struct PhaseSpace {
pub coherence_high_enter: f32,
pub coherence_high_exit: f32,
pub tension_high_enter: f32,
pub tension_high_exit: f32,
}Expand description
Configurable thresholds for SocialPhase transitions.
Uses hysteresis (Schmitt trigger): the enter threshold is higher than the exit threshold so the robot does not oscillate at phase boundaries (CCF-004).
Default thresholds:
- Coherence high: enter ≥ 0.65, exit ≥ 0.55 (10-point deadband).
- Tension high: enter ≥ 0.45, exit ≥ 0.35 (10-point deadband).
Patent Claim 14.
Fields§
§coherence_high_enter: f32Coherence threshold to enter the high-coherence quadrants (QuietlyBeloved, ProtectiveGuardian).
coherence_high_exit: f32Coherence threshold to stay in the high-coherence quadrants (exit when below).
tension_high_enter: f32Tension threshold to enter the high-tension quadrants (StartledRetreat, ProtectiveGuardian).
tension_high_exit: f32Tension threshold to stay in the high-tension quadrants (exit when below).
Implementations§
Source§impl PhaseSpace
impl PhaseSpace
Trait Implementations§
Source§impl Clone for PhaseSpace
impl Clone for PhaseSpace
Source§fn clone(&self) -> PhaseSpace
fn clone(&self) -> PhaseSpace
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 PhaseSpace
impl Debug for PhaseSpace
Auto Trait Implementations§
impl Freeze for PhaseSpace
impl RefUnwindSafe for PhaseSpace
impl Send for PhaseSpace
impl Sync for PhaseSpace
impl Unpin for PhaseSpace
impl UnsafeUnpin for PhaseSpace
impl UnwindSafe for PhaseSpace
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