pub struct CognitiveMorphogenesisEngine {
pub audit_log: Vec<MorphogenesisAuditEntry>,
pub metrics_log: Vec<MorphogenesisMetrics>,
pub gradient: CognitiveGradient,
}Expand description
A kognitív morfogenezis integrációs motor.
Fields§
§audit_log: Vec<MorphogenesisAuditEntry>§metrics_log: Vec<MorphogenesisMetrics>§gradient: CognitiveGradientImplementations§
Source§impl CognitiveMorphogenesisEngine
impl CognitiveMorphogenesisEngine
pub fn new() -> Self
Sourcepub fn load_or_init(output_dir: &Path) -> Self
pub fn load_or_init(output_dir: &Path) -> Self
Betölti a meglévő audit-naplót a fájlból (ha van).
Sourcepub fn save(&self, output_dir: &Path) -> Result<(), String>
pub fn save(&self, output_dir: &Path) -> Result<(), String>
Elmenti az audit-naplót és a metrikákat.
Sourcepub fn run_cycle(
&mut self,
activated_blocks: &[(u32, f32)],
query_hash: u64,
hebb: &HebbianState,
resonance: &ResonanceState,
evidence_ledger: &EvidenceLedger,
predictive_cache: &PredictiveCache,
emotional_state: &EmotionalContagionState,
block_count: usize,
headers: &[(f32, f32, f32)],
absentia: &AbsentiaState,
) -> MorphogenesisAuditEntry
pub fn run_cycle( &mut self, activated_blocks: &[(u32, f32)], query_hash: u64, hebb: &HebbianState, resonance: &ResonanceState, evidence_ledger: &EvidenceLedger, predictive_cache: &PredictiveCache, emotional_state: &EmotionalContagionState, block_count: usize, headers: &[(f32, f32, f32)], absentia: &AbsentiaState, ) -> MorphogenesisAuditEntry
Egy teljes kognitív morfogenezis ciklus végrehajtása.
T0→T5: aktiváció → gradiens → növekedés → anastomosis → megerősítés → konszolidáció
The count is the lint’s, not the code’s: nine of these eleven parameters are references to different subsystem states, so the types already say which is which and a wrong order does not compile. A bundled inputs struct would add a type without removing a mistake.
Sourcepub fn stats(&self) -> CognitiveMorphogenesisStats
pub fn stats(&self) -> CognitiveMorphogenesisStats
Statisztikák az audit-naplóról.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CognitiveMorphogenesisEngine
impl RefUnwindSafe for CognitiveMorphogenesisEngine
impl Send for CognitiveMorphogenesisEngine
impl Sync for CognitiveMorphogenesisEngine
impl Unpin for CognitiveMorphogenesisEngine
impl UnsafeUnpin for CognitiveMorphogenesisEngine
impl UnwindSafe for CognitiveMorphogenesisEngine
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
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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