pub struct AbsentiaState {
pub records: Vec<AbsentiaRecord>,
pub anti_hebbian: Vec<AntiHebbianPair>,
pub negative_attractors: Vec<(f64, f64, f64, f64)>,
pub last_scan_ms: u64,
}Expand description
Az Absentia réteg állapota.
Fields§
§records: Vec<AbsentiaRecord>Hiány-rekordok.
anti_hebbian: Vec<AntiHebbianPair>Anti-Hebbian párok.
negative_attractors: Vec<(f64, f64, f64, f64)>Negatív attractorok a MorphogenFieldben: (x, y, z, weight).
last_scan_ms: u64Utolsó szkennelés időpontja.
Implementations§
Source§impl AbsentiaState
impl AbsentiaState
pub fn new() -> Self
Sourcepub fn load_or_init(output_dir: &Path) -> Self
pub fn load_or_init(output_dir: &Path) -> Self
Betölti vagy inicializálja az Absentia állapotot.
Sourcepub fn scan(
&mut self,
hebb: &HebbianState,
_evidence: &EvidenceLedger,
_block_count: usize,
)
pub fn scan( &mut self, hebb: &HebbianState, _evidence: &EvidenceLedger, _block_count: usize, )
Szkenneli a Hebbian állapotot és az Evidence ledgert hiányok után.
Anti-Hebbian detektálás: két blokk, aminek együtt KELLENE aktiválódnia (struktúra alapján), de a co-aktivációs rekordjuk alacsony vagy nulla.
Sourcepub fn stats(&self) -> AbsentiaStats
pub fn stats(&self) -> AbsentiaStats
Statisztikák.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AbsentiaState
impl RefUnwindSafe for AbsentiaState
impl Send for AbsentiaState
impl Sync for AbsentiaState
impl Unpin for AbsentiaState
impl UnsafeUnpin for AbsentiaState
impl UnwindSafe for AbsentiaState
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