|
| IdentityConnection () |
|
| IdentityConnection (SpikingGroup *source, NeuronGroup *destination, AurynWeight weight=1.0, TransmitterType transmitter=GLUT, string name="Default IdentityConnection") |
|
| IdentityConnection (SpikingGroup *source, NeuronGroup *destination, AurynWeight weight, NeuronID lo_row, NeuronID hi_row, NeuronID lo_col, NeuronID hi_col, TransmitterType transmitter=GLUT, string name="Cropped Identity Connection") |
|
virtual | ~IdentityConnection () |
|
virtual AurynWeight | get (NeuronID i, NeuronID j) |
| Get weight value i,j if it exists. Otherwise the value is undefined. More...
|
|
virtual AurynWeight * | get_ptr (NeuronID i, NeuronID j) |
| Return pointer to weight element i,j if it exists, otherwise return NULL. More...
|
|
virtual AurynWeight | get_data (NeuronID i) |
| Return weight element as index in data array. More...
|
|
void | set_offset (int off) |
|
void | set_every (NeuronID e) |
|
virtual void | set_data (NeuronID i, AurynWeight value) |
|
virtual void | set (NeuronID i, NeuronID j, AurynWeight value) |
| Set existing weight element i,j with value. More...
|
|
void | finalize () |
| Finalize Connection after initialization to prepare for use in simulation. More...
|
|
AurynLong | get_nonzero () |
| Return number of nonzero elements in this Connection. More...
|
|
virtual void | propagate () |
| Propagate method to propagate spikes. Called by System run method. More...
|
|
virtual AurynDouble | sum () |
|
virtual void | stats (AurynDouble &mean, AurynDouble &std, StateID zid=0) |
| Return stats for connection. More...
|
|
virtual bool | write_to_file (string filename) |
| Implements save to file functionality. Also called in save_network_state from System class. More...
|
|
virtual bool | load_from_file (string filename) |
| Implements load from file functionality. Also called in save_network_state from System class. More...
|
|
virtual AurynFloat | mean () |
|
std::vector< neuron_pair > | get_block (NeuronID lo_row, NeuronID lo_col, NeuronID hi_row, NeuronID hi_col) |
|
| Connection () |
|
| Connection (NeuronID rows, NeuronID cols) |
|
| Connection (SpikingGroup *source, NeuronGroup *destination, TransmitterType transmitter=GLUT, std::string name="Connection") |
|
virtual | ~Connection () |
|
void | set_size (NeuronID i, NeuronID j) |
|
void | set_name (std::string name) |
| Set name of connection. More...
|
|
std::string | get_name () |
| Returns name of connection. More...
|
|
std::string | get_file_name () |
| Extracts the class name of the connection from the file name. More...
|
|
std::string | get_log_name () |
| Returns a string which is the combination of file and connection name for logging. More...
|
|
AurynStateVector * | get_target_vector () |
| Returns target state vector if one is defined. More...
|
|
NeuronID | get_m_rows () |
| Get number of rows (presynaptic) in connection. More...
|
|
NeuronID | get_n_cols () |
| Get number of columns (postsynaptic) in connection. More...
|
|
TransmitterType | get_transmitter () |
| Returns transmitter type. More...
|
|
void | set_target (AurynWeight *ptr) |
| Sets target state of this connection directly via a pointer. More...
|
|
void | set_target (AurynStateVector *ptr) |
| Sets target state of this connection directly via a StateVector. More...
|
|
void | set_receptor (AurynStateVector *ptr) |
| Same as set_target. More...
|
|
void | set_transmitter (AurynStateVector *ptr) |
| Same as set_target. More...
|
|
void | set_transmitter (TransmitterType transmitter) |
| Sets target state of this connection for a given receptor as one of Auryn's default transmitter types. More...
|
|
void | set_receptor (string state_name) |
| Sets target state of this connection directly the name of a state vector. More...
|
|
void | set_target (string state_name) |
| Same as set_receptor. More...
|
|
void | set_transmitter (string state_name) |
| Same as set_receptor, but DEPRECATED. More...
|
|
void | set_source (SpikingGroup *source) |
| Sets source SpikingGroup of this connection. More...
|
|
SpikingGroup * | get_source () |
| Returns pointer to the presynaptic group. More...
|
|
void | set_destination (NeuronGroup *source) |
| Sets destination SpikingGroup of this connection. More...
|
|
NeuronGroup * | get_destination () |
| Returns pointer to the postsynaptic group. More...
|
|
virtual void | evolve () |
| Evolve method to update internal connection state. Called by System run method. More...
|
|
void | conditional_propagate () |
| DEPRECATED. (Such connections should not be registered in the first place) Calls propagate only if the postsynaptic NeuronGroup exists on the local rank. More...
|
|
Trace * | get_pre_trace (const AurynDouble tau) |
| Returns a pointer to a presynaptic trace object. More...
|
|
Trace * | get_post_trace (const AurynDouble tau) |
| Returns a pointer to a postsynaptic trace object. More...
|
|
Trace * | get_post_state_trace (const string state_name, const AurynDouble tau, const AurynDouble jump_size=0.0) |
| Returns a pointer to a postsynaptic state trace object. More...
|
|
void | transmit (const NeuronID id, const AurynWeight amount) |
| Default way to transmit a spike to a postsynaptic partner. More...
|
|
void | targeted_transmit (SpikingGroup *target_group, AurynStateVector *target_state, const NeuronID id, const AurynWeight amount) |
| Transmits a spike to a given target group and state. More...
|
|
void | safe_transmit (NeuronID id, AurynWeight amount) |
| Same as transmit but first checks if the target neuron exists and avoids segfaults that way (but it's also slower). More...
|
|
SpikeContainer * | get_pre_spikes () |
| Supplies pointer to SpikeContainer of all presynaptic spikes. More...
|
|
SpikeContainer * | get_post_spikes () |
| Returns pointer to SpikeContainer for postsynaptic spikes on this node. More...
|
|
void | add_number_of_spike_attributes (int x) |
| Set up spike delay to accomodate x additional spike attributes. More...
|
|
AurynFloat | get_spike_attribute (const NeuronID i, const int attribute_id=0) |
| Returns spike attribute belonging to the spike at position i in the get_spikes() SpikeContainer. More...
|
|
Provides a unity matrix like connectivity.