pub struct Rows<'a> {
pub rows: Vec<&'a Challenge>,
pub prefix: usize,
pub role: Vec<u8>,
pub pb: Vec<Option<f64>>,
pub pi: Vec<f64>,
pub bm25q: Vec<f64>,
pub budget: usize,
pub s: f64,
pub tau: usize,
pub k: usize,
pub n_rem: usize,
pub pt: f64,
}Expand description
What the pool step knows of its rows (hook.rs pool): the eligible lessons in fill order, their
roles and chances, today’s word match, and the exploration’s sizes.
Fields§
§rows: Vec<&'a Challenge>§prefix: usize§role: Vec<u8>§pb: Vec<Option<f64>>§pi: Vec<f64>§bm25q: Vec<f64>§budget: usize§s: f64§tau: usize§k: usize§n_rem: usize§pt: f64Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Rows<'a>
impl<'a> RefUnwindSafe for Rows<'a>
impl<'a> Send for Rows<'a>
impl<'a> Sync for Rows<'a>
impl<'a> Unpin for Rows<'a>
impl<'a> UnsafeUnpin for Rows<'a>
impl<'a> UnwindSafe for Rows<'a>
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