Struct bandit::softmax::AnnealingSoftmaxConfig
source · [−]pub struct AnnealingSoftmaxConfig {
pub cooldown_factor: f64,
}
Fields
cooldown_factor: f64
The higher the value the faster the algorithms tends toward selecting the arm with highest reward. Should be a number between [0, 1.0)
Trait Implementations
sourceimpl Clone for AnnealingSoftmaxConfig
impl Clone for AnnealingSoftmaxConfig
sourcefn clone(&self) -> AnnealingSoftmaxConfig
fn clone(&self) -> AnnealingSoftmaxConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AnnealingSoftmaxConfig
impl Debug for AnnealingSoftmaxConfig
sourceimpl<'de> Deserialize<'de> for AnnealingSoftmaxConfig
impl<'de> Deserialize<'de> for AnnealingSoftmaxConfig
sourcefn 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
sourceimpl PartialEq<AnnealingSoftmaxConfig> for AnnealingSoftmaxConfig
impl PartialEq<AnnealingSoftmaxConfig> for AnnealingSoftmaxConfig
sourcefn eq(&self, other: &AnnealingSoftmaxConfig) -> bool
fn eq(&self, other: &AnnealingSoftmaxConfig) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AnnealingSoftmaxConfig) -> bool
fn ne(&self, other: &AnnealingSoftmaxConfig) -> bool
This method tests for !=
.
sourceimpl Serialize for AnnealingSoftmaxConfig
impl Serialize for AnnealingSoftmaxConfig
impl Copy for AnnealingSoftmaxConfig
impl StructuralPartialEq for AnnealingSoftmaxConfig
Auto Trait Implementations
impl RefUnwindSafe for AnnealingSoftmaxConfig
impl Send for AnnealingSoftmaxConfig
impl Sync for AnnealingSoftmaxConfig
impl Unpin for AnnealingSoftmaxConfig
impl UnwindSafe for AnnealingSoftmaxConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more