pub trait Adaptable<N, R>where
    R: Responsive<N>,
    N: Neural,{
    // Required methods
    fn adapt(
        &mut self,
        neurons: &mut N,
        responsiveness: &mut R,
        pattern: &ArrayView1<'_, f64>,
        influence: f64,
        rate: f64
    );
    fn clone_dyn(&self) -> BoxedAdaptable<N, R>;
}
Expand description

Interface for structures encapsulating algorithms for self-organization

Required Methods§

source

fn adapt( &mut self, neurons: &mut N, responsiveness: &mut R, pattern: &ArrayView1<'_, f64>, influence: f64, rate: f64 )

source

fn clone_dyn(&self) -> BoxedAdaptable<N, R>

Implementors§

source§

impl<N, R> Adaptable<N, R> for KohonenAdaptivitywhere R: Responsive<N>, N: Neural,

source§

impl<N, R> Adaptable<N, R> for BoxedAdaptable<N, R>where N: Neural, R: Responsive<N>,