pub struct Neuroembryogenesis { /* private fields */ }Expand description
Neuroembryogenesis orchestrator
Manages the development of a brain from genome instructions. Uses ConnectomeManager to build the actual neural structures.
§Type Parameters
T: NeuralValue: The numeric precision for the connectome (f32, INT8Value, f16)
Implementations§
Source§impl Neuroembryogenesis
impl Neuroembryogenesis
Sourcepub fn new(connectome_manager: Arc<RwLock<ConnectomeManager>>) -> Self
pub fn new(connectome_manager: Arc<RwLock<ConnectomeManager>>) -> Self
Create a new neuroembryogenesis instance
Sourcepub fn get_progress(&self) -> DevelopmentProgress
pub fn get_progress(&self) -> DevelopmentProgress
Get current development progress
Sourcepub fn add_cortical_areas(
&mut self,
areas: Vec<CorticalArea>,
genome: &RuntimeGenome,
) -> BduResult<(usize, usize)>
pub fn add_cortical_areas( &mut self, areas: Vec<CorticalArea>, genome: &RuntimeGenome, ) -> BduResult<(usize, usize)>
Incrementally add cortical areas to an existing connectome
This is for adding new cortical areas after the initial genome has been loaded.
Unlike develop_from_genome(), this only processes the new areas.
§Arguments
areas- The cortical areas to addgenome- The full runtime genome (needed for synaptogenesis context)
§Returns
- Number of neurons created and synapses created
Sourcepub fn develop_from_genome(&mut self, genome: &RuntimeGenome) -> BduResult<()>
pub fn develop_from_genome(&mut self, genome: &RuntimeGenome) -> BduResult<()>
Develop the brain from a genome
This is the main entry point that orchestrates all development stages.
Auto Trait Implementations§
impl !RefUnwindSafe for Neuroembryogenesis
impl !UnwindSafe for Neuroembryogenesis
impl Freeze for Neuroembryogenesis
impl Send for Neuroembryogenesis
impl Sync for Neuroembryogenesis
impl Unpin for Neuroembryogenesis
impl UnsafeUnpin for Neuroembryogenesis
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
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> ⓘ
Converts
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> ⓘ
Converts
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