pub struct GradientInputs {
pub lexical_score: f32,
pub resonance_strength: f32,
pub evidence_confidence: u8,
pub hebbian_energy: f32,
pub prediction_hit_rate: f32,
pub emotional_valence: f32,
pub execution_success: f32,
}Expand description
The seven components one gradient cycle weighs.
A struct because they are seven same-typed scalars. At the call sites a
positional compute(0.5, 0.3, 50, 0.5, 0.5, 0.0, 0.5) says nothing about
which is which, and in this file hebbian_energy and prediction_hit_rate
held the same value at every call site, so a transposed pair would have
changed no result and no test would have said so.
Fields§
§lexical_score: f32§resonance_strength: f32§evidence_confidence: u80-100. Divided by 100 before it is weighted.
hebbian_energy: f32§prediction_hit_rate: f32§emotional_valence: f32-1.0 to 1.0. Mapped onto 0-1 before it is weighted.
execution_success: f32Implementations§
Trait Implementations§
Source§impl Clone for GradientInputs
impl Clone for GradientInputs
impl Copy for GradientInputs
Source§impl Debug for GradientInputs
impl Debug for GradientInputs
Source§impl Default for GradientInputs
impl Default for GradientInputs
Source§impl PartialEq for GradientInputs
impl PartialEq for GradientInputs
impl StructuralPartialEq for GradientInputs
Auto Trait Implementations§
impl Freeze for GradientInputs
impl RefUnwindSafe for GradientInputs
impl Send for GradientInputs
impl Sync for GradientInputs
impl Unpin for GradientInputs
impl UnsafeUnpin for GradientInputs
impl UnwindSafe for GradientInputs
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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