26 #ifndef IDENTITYCONNECTION_H_ 27 #define IDENTITYCONNECTION_H_ 38 #include <boost/random/mersenne_twister.hpp> 39 #include <boost/random/uniform_int.hpp> 40 #include <boost/random/variate_generator.hpp> 41 #include <boost/random/exponential_distribution.hpp> 42 #include <boost/random/normal_distribution.hpp> 53 NeuronID lo_src,hi_src,lo_dst,hi_dst;
std::vector< neuron_pair > get_block(NeuronID lo_row, NeuronID lo_col, NeuronID hi_row, NeuronID hi_col)
Definition: IdentityConnection.cpp:147
Standard Glutamatergic (excitatory) transmission.
Definition: auryn_definitions.h:139
virtual bool load_from_file(string filename)
Implements load from file functionality. Also called in save_network_state from System class...
Definition: IdentityConnection.cpp:141
virtual AurynWeight get_data(NeuronID i)
Return weight element as index in data array.
Definition: IdentityConnection.cpp:95
virtual ~IdentityConnection()
Definition: IdentityConnection.cpp:54
The abstract base class for all Connection objects in Auryn.
Definition: Connection.h:53
std::vector< NeuronID > SpikeContainer
Spike container type. Used for storing spikes.
Definition: auryn_definitions.h:161
void set_every(NeuronID e)
Definition: IdentityConnection.cpp:176
virtual void set_data(NeuronID i, AurynWeight value)
Definition: IdentityConnection.cpp:100
Abstract base class of all objects producing spikes.
Definition: SpikingGroup.h:67
void finalize()
Finalize Connection after initialization to prepare for use in simulation.
Definition: IdentityConnection.cpp:77
double AurynDouble
Higher precision floating point datatype.
Definition: auryn_definitions.h:158
AurynFloat AurynWeight
Unit of synaptic weights.
Definition: auryn_definitions.h:159
virtual AurynWeight * get_ptr(NeuronID i, NeuronID j)
Return pointer to weight element i,j if it exists, otherwise return NULL.
Definition: IdentityConnection.cpp:110
virtual AurynFloat mean()
Definition: IdentityConnection.cpp:163
Definition: ABSConnection.h:38
unsigned long AurynLong
An unsigned long type used to count synapses or similar.
Definition: auryn_definitions.h:154
AurynLong get_nonzero()
Return number of nonzero elements in this Connection.
Definition: IdentityConnection.cpp:120
TransmitterType
Specifies the different transmitter types that Auryn knows.
Definition: auryn_definitions.h:138
float AurynFloat
Low precision floating point datatype.
Definition: auryn_definitions.h:157
void set_offset(int off)
Definition: IdentityConnection.cpp:170
virtual void stats(AurynDouble &mean, AurynDouble &std, StateID zid=0)
Return stats for connection.
Definition: IdentityConnection.cpp:125
virtual AurynDouble sum()
Definition: IdentityConnection.cpp:131
virtual bool write_to_file(string filename)
Implements save to file functionality. Also called in save_network_state from System class...
Definition: IdentityConnection.cpp:136
Abstract base class for all neuron groups.
Definition: NeuronGroup.h:45
virtual void propagate()
Propagate method to propagate spikes. Called by System run method.
Definition: IdentityConnection.cpp:81
unsigned int StateID
StateID is an unsigned integeger type used to index synaptic states in Auryn.
Definition: auryn_definitions.h:153
void free()
Definition: IdentityConnection.cpp:73
unsigned int NeuronID
NeuronID is an unsigned integeger type used to index neurons in Auryn.
Definition: auryn_definitions.h:151
Provides a unity matrix like connectivity.
Definition: IdentityConnection.h:47