pub struct Coupling {
pub id: CouplingId,
pub source: ResonatorId,
pub target: ResonatorId,
pub strength: f64,
pub persistence: CouplingPersistence,
pub scope: CouplingScope,
pub symmetry: SymmetryType,
pub attention_allocated: u64,
pub meaning_convergence: f64,
pub interaction_count: u64,
pub created_at: TemporalAnchor,
pub last_resonance: TemporalAnchor,
}Expand description
A coupling relationship between Resonators
Coupling describes the strength and character of interaction.
Fields§
§id: CouplingId§source: ResonatorId§target: ResonatorId§strength: f64Intensity: How much influence is allowed (0.0 to 1.0)
persistence: CouplingPersistencePersistence: How long the coupling lasts
scope: CouplingScopeScope: Which aspects of state are affected
symmetry: SymmetryTypeSymmetry: Whether influence is mutual
attention_allocated: u64Attention allocated to this coupling
meaning_convergence: f64How well does meaning converge between these Resonators?
interaction_count: u64Interaction count
created_at: TemporalAnchorCreated at (temporal anchor)
last_resonance: TemporalAnchorLast resonance through this coupling
Implementations§
Source§impl Coupling
impl Coupling
Sourcepub fn is_healthy(&self) -> bool
pub fn is_healthy(&self) -> bool
Is this coupling healthy?
Sourcepub fn should_strengthen(&self) -> bool
pub fn should_strengthen(&self) -> bool
Should this coupling be strengthened?
Sourcepub fn should_weaken(&self) -> bool
pub fn should_weaken(&self) -> bool
Should this coupling be weakened?
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Coupling
impl<'de> Deserialize<'de> for Coupling
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
Auto Trait Implementations§
impl Freeze for Coupling
impl RefUnwindSafe for Coupling
impl Send for Coupling
impl Sync for Coupling
impl Unpin for Coupling
impl UnwindSafe for Coupling
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