pub struct StdpConfig {
pub a_plus: f64,
pub a_minus: f64,
pub tau_plus: f64,
pub tau_minus: f64,
}Expand description
STDP configuration.
Fields§
§a_plus: f64Strengthening amplitude for causal order (pre fires before post).
a_minus: f64Weakening amplitude for anti-causal order (post fires before pre).
tau_plus: f64Time constant for causal window (ticks).
tau_minus: f64Time constant for anti-causal window (ticks).
Trait Implementations§
Source§impl Clone for StdpConfig
impl Clone for StdpConfig
Source§fn clone(&self) -> StdpConfig
fn clone(&self) -> StdpConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StdpConfig
Source§impl Debug for StdpConfig
impl Debug for StdpConfig
Auto Trait Implementations§
impl Freeze for StdpConfig
impl RefUnwindSafe for StdpConfig
impl Send for StdpConfig
impl Sync for StdpConfig
impl Unpin for StdpConfig
impl UnsafeUnpin for StdpConfig
impl UnwindSafe for StdpConfig
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