Struct ratel_bandit::GammaBandit
source · pub struct GammaBandit { /* private fields */ }
Expand description
A bandit whose arms distribute rewards according to the gamma distributions.
Trait Implementations§
source§impl Bandit<f64> for GammaBandit
impl Bandit<f64> for GammaBandit
source§fn max_reward(&self) -> f64
fn max_reward(&self) -> f64
The maximum average reward of all the arms.
Auto Trait Implementations§
impl RefUnwindSafe for GammaBandit
impl Send for GammaBandit
impl Sync for GammaBandit
impl Unpin for GammaBandit
impl UnwindSafe for GammaBandit
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