pub struct OmegaBrain { /* private fields */ }Expand description
The unified Omega Brain
Integrates all cognitive components into a single coherent system that processes information in a brain-like manner.
Implementations§
Source§impl OmegaBrain
impl OmegaBrain
Sourcepub fn with_config(config: BrainConfig) -> Self
pub fn with_config(config: BrainConfig) -> Self
Create with custom configuration
Sourcepub fn process(&self, input: &[f64]) -> Result<ProcessingResult>
pub fn process(&self, input: &[f64]) -> Result<ProcessingResult>
Process input through the brain
This is the main entry point for cognitive processing. Input flows through: Neural → Attention → Consciousness → Memory → Output
Sourcepub fn state(&self) -> BrainState
pub fn state(&self) -> BrainState
Get current brain state
Sourcepub fn metrics(&self) -> BrainMetrics
pub fn metrics(&self) -> BrainMetrics
Get brain metrics
Sourcepub fn consolidate_memories(&self) -> Result<usize>
pub fn consolidate_memories(&self) -> Result<usize>
Force memory consolidation
Sourcepub fn think_about(&self, topic: &[f64]) -> Result<Vec<f64>>
pub fn think_about(&self, topic: &[f64]) -> Result<Vec<f64>>
Think about a specific topic (directed cognition)
Sourcepub fn consciousness_level(&self) -> f64
pub fn consciousness_level(&self) -> f64
Get current consciousness level
Sourcepub fn is_dreaming(&self) -> bool
pub fn is_dreaming(&self) -> bool
Check if brain is dreaming
Sourcepub fn self_state(&self) -> Vec<f64>
pub fn self_state(&self) -> Vec<f64>
Get self-model state
Sourcepub fn deactivate(&self)
pub fn deactivate(&self)
Deactivate the brain
Sourcepub fn config(&self) -> &BrainConfig
pub fn config(&self) -> &BrainConfig
Get brain configuration
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OmegaBrain
impl !RefUnwindSafe for OmegaBrain
impl Send for OmegaBrain
impl Sync for OmegaBrain
impl Unpin for OmegaBrain
impl !UnwindSafe for OmegaBrain
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