pub struct EpsilonGreedy { /* private fields */ }Expand description
Epsilon-greedy explorer for IQN.
Implementations§
Source§impl EpsilonGreedy
impl EpsilonGreedy
Sourcepub fn with_params(
eps_start: f64,
eps_final: f64,
final_step: usize,
) -> IqnExplorer
pub fn with_params( eps_start: f64, eps_final: f64, final_step: usize, ) -> IqnExplorer
Constructs epsilon-greedy explorer.
Sourcepub fn with_final_step(final_step: usize) -> IqnExplorer
pub fn with_final_step(final_step: usize) -> IqnExplorer
Constructs epsilon-greedy explorer.
TODO: improve interface.
Trait Implementations§
Source§impl Clone for EpsilonGreedy
impl Clone for EpsilonGreedy
Source§fn clone(&self) -> EpsilonGreedy
fn clone(&self) -> EpsilonGreedy
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EpsilonGreedy
impl Debug for EpsilonGreedy
Source§impl Default for EpsilonGreedy
impl Default for EpsilonGreedy
Source§impl<'de> Deserialize<'de> for EpsilonGreedy
impl<'de> Deserialize<'de> for EpsilonGreedy
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
Source§impl PartialEq for EpsilonGreedy
impl PartialEq for EpsilonGreedy
Source§impl Serialize for EpsilonGreedy
impl Serialize for EpsilonGreedy
impl StructuralPartialEq for EpsilonGreedy
Auto Trait Implementations§
impl Freeze for EpsilonGreedy
impl RefUnwindSafe for EpsilonGreedy
impl Send for EpsilonGreedy
impl Sync for EpsilonGreedy
impl Unpin for EpsilonGreedy
impl UnwindSafe for EpsilonGreedy
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