#[non_exhaustive]pub enum OperationalLearning {
Multinomial {
learning_rate: f64,
initial_learning_matrix: Vec<f64>,
},
Markov {
learning_rate: f64,
initial_learning_matrix: Vec<Vec<f64>>,
},
HiddenMarkov {
learning_rate: f64,
initial_transition_matrix: Vec<Vec<f64>>,
initial_emission_matrix: Vec<Vec<f64>>,
},
None,
}
Expand description
This enum contains options for how the agent learns
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Multinomial
Reinforcement over the action set as a multinomial distribution
Markov
Reinforcement over a sequence-based action set
Fields
HiddenMarkov
Reinforcement over an HMM-based action set
Fields
None
Do you want dumb agents? This is how you get dumb agents.
Trait Implementations§
Source§impl Clone for OperationalLearning
impl Clone for OperationalLearning
Source§fn clone(&self) -> OperationalLearning
fn clone(&self) -> OperationalLearning
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 moreAuto Trait Implementations§
impl Freeze for OperationalLearning
impl RefUnwindSafe for OperationalLearning
impl Send for OperationalLearning
impl Sync for OperationalLearning
impl Unpin for OperationalLearning
impl UnwindSafe for OperationalLearning
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