pub enum BanditAlgorithm {
Ucb1,
Thompson,
}Expand description
Start-rung bandit selection algorithm.
Variants§
Ucb1
Deterministic UCB1 (Auer et al. 2002).
Thompson
Thompson sampling with Beta posteriors (Chapelle & Li 2011).
Trait Implementations§
Source§impl Clone for BanditAlgorithm
impl Clone for BanditAlgorithm
Source§fn clone(&self) -> BanditAlgorithm
fn clone(&self) -> BanditAlgorithm
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BanditAlgorithm
Source§impl Debug for BanditAlgorithm
impl Debug for BanditAlgorithm
Source§impl Default for BanditAlgorithm
impl Default for BanditAlgorithm
Source§fn default() -> BanditAlgorithm
fn default() -> BanditAlgorithm
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BanditAlgorithm
impl<'de> Deserialize<'de> for BanditAlgorithm
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for BanditAlgorithm
Source§impl PartialEq for BanditAlgorithm
impl PartialEq for BanditAlgorithm
impl StructuralPartialEq for BanditAlgorithm
Auto Trait Implementations§
impl Freeze for BanditAlgorithm
impl RefUnwindSafe for BanditAlgorithm
impl Send for BanditAlgorithm
impl Sync for BanditAlgorithm
impl Unpin for BanditAlgorithm
impl UnsafeUnpin for BanditAlgorithm
impl UnwindSafe for BanditAlgorithm
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