#[repr(u8)]pub enum MemoryTier {
Instant = 1,
Session = 2,
Episodic = 3,
Semantic = 4,
Collective = 5,
Evolutionary = 6,
Architectural = 7,
Substrate = 8,
Civilizational = 9,
Temporal = 10,
Physical = 11,
Omega = 12,
}Expand description
12-tier memory hierarchy spanning from instant to omega scale
Variants§
Instant = 1
Tier 1: Instant Memory - Milliseconds to seconds Working memory, immediate context, attention buffer
Session = 2
Tier 2: Session Memory - Minutes to hours Current conversation, active task context
Episodic = 3
Tier 3: Episodic Memory - Days to weeks Specific events, experiences, conversations
Semantic = 4
Tier 4: Semantic Memory - Weeks to months Facts, concepts, learned knowledge
Collective = 5
Tier 5: Collective Memory - Months to years Shared knowledge across agent instances
Evolutionary = 6
Tier 6: Evolutionary Memory - Years to decades Learned patterns, successful strategies
Architectural = 7
Tier 7: Architectural Memory - Decades to centuries Core algorithms, system designs
Substrate = 8
Tier 8: Substrate Memory - Centuries to millennia Fundamental computation patterns
Civilizational = 9
Tier 9: Civilizational Memory - Millennia to epochs Cultural knowledge, civilization patterns
Temporal = 10
Tier 10: Temporal Memory - Epochs to eons Historical trends, long-term patterns
Physical = 11
Tier 11: Physical Memory - Eons to universe-scale Physical laws, universal constants
Omega = 12
Tier 12: Omega Memory - Eternal/Universal Fundamental truths, universal principles
Implementations§
Source§impl MemoryTier
impl MemoryTier
Sourcepub fn retention_duration(&self) -> Option<Duration>
pub fn retention_duration(&self) -> Option<Duration>
Get the typical retention duration for this tier
Sourcepub fn importance_threshold(&self) -> f64
pub fn importance_threshold(&self) -> f64
Get the importance threshold for this tier
Sourcepub fn typical_size(&self) -> usize
pub fn typical_size(&self) -> usize
Get the typical size of this memory tier
Sourcepub fn scale(&self) -> MemoryScale
pub fn scale(&self) -> MemoryScale
Get the scale category
Sourcepub fn next_tier(&self) -> Option<MemoryTier>
pub fn next_tier(&self) -> Option<MemoryTier>
Get the next tier for consolidation
Sourcepub fn tiers_in_scale(scale: MemoryScale) -> Vec<MemoryTier>
pub fn tiers_in_scale(scale: MemoryScale) -> Vec<MemoryTier>
Get all tiers in this scale
Sourcepub fn all() -> Vec<MemoryTier>
pub fn all() -> Vec<MemoryTier>
Get all tiers
Trait Implementations§
Source§impl Clone for MemoryTier
impl Clone for MemoryTier
Source§fn clone(&self) -> MemoryTier
fn clone(&self) -> MemoryTier
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more