pub enum LtpStatus {
None,
Burst {
detected_at: DateTime<Utc>,
},
Weekly,
Full,
}Expand description
Long-Term Potentiation status for edges (PIPE-4)
Multi-scale LTP based on neuroscience research:
- Burst: Temporary protection from high-frequency activation (E-LTP)
- Weekly: Moderate protection from consistent routine use (L-LTP)
- Full: Maximum protection from sustained long-term use (systems consolidation)
Reference: Frey & Morris (1997) “Synaptic tagging and long-term potentiation”
Variants§
None
Not potentiated - normal decay applies
Burst
Burst potentiated: 5+ activations in 24 hours Temporary protection (2x slower decay) that expires after 48h Represents early-phase LTP (protein synthesis independent)
Weekly
Weekly potentiated: 3+/week for 2+ weeks Moderate protection (3x slower decay) Represents late-phase LTP (habit formation)
Full
Fully potentiated: 10+ activations OR 5+ over 30 days Maximum protection (10x slower decay) Represents systems consolidation (semantic memory)
Implementations§
Source§impl LtpStatus
impl LtpStatus
Sourcepub fn decay_factor(&self) -> f32
pub fn decay_factor(&self) -> f32
Get the decay factor for this LTP status
Sourcepub fn is_potentiated(&self) -> bool
pub fn is_potentiated(&self) -> bool
Check if this status provides any protection
Sourcepub fn is_burst_expired(&self) -> bool
pub fn is_burst_expired(&self) -> bool
Check if burst protection has expired
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LtpStatus
impl<'de> Deserialize<'de> for LtpStatus
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>,
impl Copy for LtpStatus
impl Eq for LtpStatus
impl StructuralPartialEq for LtpStatus
Auto Trait Implementations§
impl Freeze for LtpStatus
impl RefUnwindSafe for LtpStatus
impl Send for LtpStatus
impl Sync for LtpStatus
impl Unpin for LtpStatus
impl UnsafeUnpin for LtpStatus
impl UnwindSafe for LtpStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSend for T
impl<T> DowncastSend for T
Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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>
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>
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