pub struct CACLA<C, P> {
pub critic: C,
pub policy: P,
pub alpha: f64,
pub gamma: f64,
}Expand description
Continuous Actor-Critic Learning Automaton
Fields§
§critic: C§policy: P§alpha: f64§gamma: f64Implementations§
Trait Implementations§
Source§impl<'m, S, C, P> Handler<&'m Transition<S, <P as Policy<&'m S>>::Action>> for CACLA<C, P>
impl<'m, S, C, P> Handler<&'m Transition<S, <P as Policy<&'m S>>::Action>> for CACLA<C, P>
type Response = Option<<P as Handler<StateActionUpdate<&'m S, &'m <P as Policy<&'m S>>::Action>>>::Response>
type Error = <P as Handler<StateActionUpdate<&'m S, &'m <P as Policy<&'m S>>::Action>>>::Error
fn handle( &mut self, t: &'m Transition<S, P::Action>, ) -> Result<Self::Response, Self::Error>
fn handle_unchecked(&mut self, msg: M) -> Self::Response
Auto Trait Implementations§
impl<C, P> Freeze for CACLA<C, P>
impl<C, P> RefUnwindSafe for CACLA<C, P>where
C: RefUnwindSafe,
P: RefUnwindSafe,
impl<C, P> Send for CACLA<C, P>
impl<C, P> Sync for CACLA<C, P>
impl<C, P> Unpin for CACLA<C, P>
impl<C, P> UnsafeUnpin for CACLA<C, P>where
C: UnsafeUnpin,
P: UnsafeUnpin,
impl<C, P> UnwindSafe for CACLA<C, P>where
C: UnwindSafe,
P: 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