pub struct MdpSolution {
pub values: Vec<f64>,
pub policy: Vec<usize>,
}Expand description
The value function and a greedy policy.
Fields§
§values: Vec<f64>§policy: Vec<usize>The maximising action in each state.
Trait Implementations§
Source§impl Clone for MdpSolution
impl Clone for MdpSolution
Source§impl Debug for MdpSolution
impl Debug for MdpSolution
Source§impl PartialEq for MdpSolution
impl PartialEq for MdpSolution
impl StructuralPartialEq for MdpSolution
Auto Trait Implementations§
impl Freeze for MdpSolution
impl RefUnwindSafe for MdpSolution
impl Send for MdpSolution
impl Sync for MdpSolution
impl Unpin for MdpSolution
impl UnsafeUnpin for MdpSolution
impl UnwindSafe for MdpSolution
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