pub struct Step<S, O> {
pub state: S,
pub observation: O,
pub reward: f64,
pub terminal: bool,
}Expand description
One sampled transition of a Pomdp.
Fields§
§state: SThe successor state.
observation: OThe observation received after the transition.
reward: f64The reward of the transition. Must be finite.
terminal: boolWhether the episode ends with this transition. No reward follows a terminal step.
Implementations§
Trait Implementations§
impl<S: PartialEq, O: PartialEq> StructuralPartialEq for Step<S, O>
Auto Trait Implementations§
impl<S, O> Forget for Step<S, O>
impl<S, O> Freeze for Step<S, O>
impl<S, O> Move for Step<S, O>
impl<S, O> RefUnwindSafe for Step<S, O>where
S: RefUnwindSafe,
O: RefUnwindSafe,
impl<S, O> Send for Step<S, O>
impl<S, O> Sync for Step<S, O>
impl<S, O> Unpin for Step<S, O>
impl<S, O> UnsafeUnpin for Step<S, O>where
S: UnsafeUnpin,
O: UnsafeUnpin,
impl<S, O> UnwindSafe for Step<S, O>where
S: UnwindSafe,
O: UnwindSafe,
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