pub struct ActionValueFunction {
pub q: Vec<Vec<f64>>,
}Expand description
State-action value function Q^π(s,a).
Fields§
§q: Vec<Vec<f64>>q[s][a] = Q(s, a).
Implementations§
Trait Implementations§
Source§impl Clone for ActionValueFunction
impl Clone for ActionValueFunction
Source§fn clone(&self) -> ActionValueFunction
fn clone(&self) -> ActionValueFunction
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 ActionValueFunction
impl RefUnwindSafe for ActionValueFunction
impl Send for ActionValueFunction
impl Sync for ActionValueFunction
impl Unpin for ActionValueFunction
impl UnsafeUnpin for ActionValueFunction
impl UnwindSafe for ActionValueFunction
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