Struct ratel_bandit::BinomialBandit
source · pub struct BinomialBandit { /* private fields */ }
Expand description
A bandit whose arms distribute rewards according to the binomial distributions.
Implementations§
Trait Implementations§
source§impl Bandit<u32> for BinomialBandit
impl Bandit<u32> for BinomialBandit
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 BinomialBandit
impl Send for BinomialBandit
impl Sync for BinomialBandit
impl Unpin for BinomialBandit
impl UnwindSafe for BinomialBandit
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