Struct renforce::util::table::QTable
[−]
[src]
pub struct QTable<S: FiniteSpace, A: FiniteSpace> where S::Element: Hash + Eq,
A::Element: Hash + Eq { /* fields omitted */ }
QTable
Represents a QFunction implemented using a table The values of all (state, action) pairs are stored in a table
Methods
impl<S: FiniteSpace, A: FiniteSpace> QTable<S, A> where S::Element: Hash + Eq,
A::Element: Hash + Eq
[src]
A::Element: Hash + Eq
Trait Implementations
impl<S: Debug + FiniteSpace, A: Debug + FiniteSpace> Debug for QTable<S, A> where S::Element: Hash + Eq,
A::Element: Hash + Eq,
S::Element: Debug,
A::Element: Debug
[src]
A::Element: Hash + Eq,
S::Element: Debug,
A::Element: Debug
impl<S: Clone + FiniteSpace, A: Clone + FiniteSpace> Clone for QTable<S, A> where S::Element: Hash + Eq,
A::Element: Hash + Eq,
S::Element: Clone,
A::Element: Clone
[src]
A::Element: Hash + Eq,
S::Element: Clone,
A::Element: Clone
fn clone(&self) -> QTable<S, A>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<S: FiniteSpace, A: FiniteSpace> QFunction<S, A> for QTable<S, A> where S::Element: Hash + Eq,
A::Element: Hash + Eq
[src]
A::Element: Hash + Eq