26 #ifndef AURYNDELAYVECTOR_H_ 27 #define AURYNDELAYVECTOR_H_ 57 int delay_buffer_size_;
59 std::vector< AurynVectorFloat* > memory;
void advance()
Advances memory buffer by one step.
Definition: AurynDelayVector.cpp:57
AurynVectorFloat * mem_ptr(int delay=-1)
Returns pointer to delayed array element.
Definition: AurynDelayVector.cpp:79
AurynTime get_delay_size()
Returns delay buffer size in units of AurynTime.
Definition: AurynDelayVector.h:94
AurynDelayVector(NeuronID n, unsigned int delay_buffer_size)
Default constructor.
Definition: AurynDelayVector.cpp:32
int n
Definition: mkpat.py:5
Definition: ABSConnection.h:38
float AurynFloat
Low precision floating point datatype.
Definition: auryn_definitions.h:157
virtual ~AurynDelayVector()
Default destructor.
Definition: AurynDelayVector.cpp:42
void resize(NeuronID new_size)
Resizes the vector and the buffer vectors.
Definition: AurynDelayVector.cpp:49
Default AurynVectorFloat class for performance computation.
Definition: AurynVector.h:796
NeuronID AurynTime
Defines Auryns discrete time unit of the System clock. Change to AurynLong if 120h of simtime are not...
Definition: auryn_definitions.h:155
AurynDelayVector is a AurynVectorFloat which keeps its own history in a ring buffer.
Definition: AurynDelayVector.h:52
AurynVectorFloat * mem_get_vector(int delay=-1)
Returns delayed state vector.
Definition: AurynDelayVector.cpp:66
unsigned int NeuronID
NeuronID is an unsigned integeger type used to index neurons in Auryn.
Definition: auryn_definitions.h:151
AurynFloat mem_get(NeuronID i, int delay=-1)
Returns delayed element.
Definition: AurynDelayVector.cpp:74