virtual void evolve()=0
Perform Euler step.
virtual void set_timeconstant(AurynFloat timeconstant)
Set the time constant of the trace.
Definition: Trace.cpp:41
virtual AurynStateVector * get_state_ptr()
Get pointer to state AurynStateVector for fast processing.
Definition: Trace.cpp:51
std::vector< NeuronID > SpikeContainer
Spike container type. Used for storing spikes.
Definition: auryn_definitions.h:161
AurynFloat tau
Definition: Trace.h:43
virtual AurynFloat normalized_get(NeuronID i)
Get trace value of trace dived by tau.
Definition: Trace.cpp:67
Abstract base class of synaptic traces.
Definition: Trace.h:36
int n
Definition: mkpat.py:5
virtual void follow()=0
Follow target state vector.
Trace(NeuronID n, AurynFloat timeconstant)
Default constructor.
Definition: Trace.cpp:32
virtual void inc(NeuronID i)
Increment given trace by 1.
Definition: Trace.cpp:56
Definition: ABSConnection.h:38
float AurynFloat
Low precision floating point datatype.
Definition: auryn_definitions.h:157
virtual void set_target(AurynStateVector *target)=0
Set the target vector for follow operation.
virtual void follow(AurynVectorFloat *v, const float rate)
Follow other vector.
Definition: Trace.h:89
virtual ~Trace()
Default destructor.
Definition: Trace.cpp:37
AurynFloat get_tau()
Get decay time constant.
Definition: Trace.cpp:46
Default AurynVectorFloat class for performance computation.
Definition: AurynVector.h:796
void follow(AurynVectorFloat *v, const float rate)
Definition: AurynVector.cpp:294
unsigned int NeuronID
NeuronID is an unsigned integeger type used to index neurons in Auryn.
Definition: auryn_definitions.h:151