pub struct StudentProfile {
pub session_frequency: u32,
pub exercises_per_session: u32,
pub initial_performance: PerformanceProbs,
pub trials_before_stable: u32,
pub stable_performance: PerformanceProbs,
pub lapse_rate: f32,
}Expand description
Describes the information that is used to simulate the performance of different types of students.
Fields§
§session_frequency: u32The frequency at which the student practices expressed as how many days there are in between practice sessions. For example, a frequency of 2 means that the student practices every 2 days.
exercises_per_session: u32The number of exercises that the student practices in each session.
initial_performance: PerformanceProbsThe initial performance of the student when they see an exercise for the first time.
trials_before_stable: u32The number of trials the student needs to reach stable performance.
stable_performance: PerformanceProbsThe stable performance of the student after they have practiced an exercise a large number of trials. The probabilities of trials in between the initial and the stable trials are interpolated.
lapse_rate: f32The rate at which the student lapses on an exercise after the stable performance is reached. Used to simulate forgetting, even after reaching stable performance.
Trait Implementations§
Source§impl Clone for StudentProfile
impl Clone for StudentProfile
Source§fn clone(&self) -> StudentProfile
fn clone(&self) -> StudentProfile
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for StudentProfile
impl RefUnwindSafe for StudentProfile
impl Send for StudentProfile
impl Sync for StudentProfile
impl Unpin for StudentProfile
impl UnsafeUnpin for StudentProfile
impl UnwindSafe for StudentProfile
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
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>
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