pub struct DQNStepConfig {
pub gamma: f32,
pub n_step: usize,
pub double_dqn: bool,
}Expand description
DQN step configuration.
Fields§
§gamma: f32§n_step: usize§double_dqn: boolTrait Implementations§
Source§impl Clone for DQNStepConfig
impl Clone for DQNStepConfig
Source§fn clone(&self) -> DQNStepConfig
fn clone(&self) -> DQNStepConfig
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 moreSource§impl Debug for DQNStepConfig
impl Debug for DQNStepConfig
Auto Trait Implementations§
impl Freeze for DQNStepConfig
impl RefUnwindSafe for DQNStepConfig
impl Send for DQNStepConfig
impl Sync for DQNStepConfig
impl Unpin for DQNStepConfig
impl UnwindSafe for DQNStepConfig
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