pub struct MasteryConfig {
pub magnitude_step: u8,
pub pressure_threshold: i32,
pub participation_divisor: i32,
pub pressure_scale: i32,
pub pressure_decay_num: i32,
pub pressure_decay_den: i32,
}Expand description
Mastery learning configuration - all integers
Fields§
§magnitude_step: u8Step size for magnitude updates
pressure_threshold: i32Pressure threshold to trigger weight change
participation_divisor: i32Participation divisor for peak-relative gating (4 = above max/4, 2 = above max/2)
pressure_scale: i32Pressure scale factor (higher = faster accumulation)
pressure_decay_num: i32Pressure decay after successful update (fraction kept, e.g., 2/3)
pressure_decay_den: i32Implementations§
Trait Implementations§
Source§impl Clone for MasteryConfig
impl Clone for MasteryConfig
Source§impl Debug for MasteryConfig
impl Debug for MasteryConfig
Auto Trait Implementations§
impl Forget for MasteryConfig
impl Freeze for MasteryConfig
impl Move for MasteryConfig
impl RefUnwindSafe for MasteryConfig
impl Send for MasteryConfig
impl Sync for MasteryConfig
impl Unpin for MasteryConfig
impl UnsafeUnpin for MasteryConfig
impl UnwindSafe for MasteryConfig
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