pub struct Decision {
pub at: usize,
pub ms: i64,
pub session: String,
pub asked: Vec<(String, f64, f64)>,
pub pool: Vec<(String, f64, bool)>,
}Expand description
One logged Thompson check: its asked record’s index in the log, ms and session, the asked lessons
with their logged p and reward, and the pool (id, base, scoped).
Fields§
§at: usize§ms: i64§session: String§asked: Vec<(String, f64, f64)>§pool: Vec<(String, f64, bool)>Trait Implementations§
impl StructuralPartialEq for Decision
Auto Trait Implementations§
impl Freeze for Decision
impl RefUnwindSafe for Decision
impl Send for Decision
impl Sync for Decision
impl Unpin for Decision
impl UnsafeUnpin for Decision
impl UnwindSafe for Decision
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