Connection for testing the spore module.
More...
#include <spore_test_connection.h>
|
| SporeTestConnection (const SporeTestConnection< targetidentifierT > &rhs) |
|
void | check_connection (nest::Node &s, nest::Node &t, nest::rport receptor_type, double t_lastspike, const CommonPropertiesType &cp) |
|
void | get_status (DictionaryDatum &d) const |
|
void | set_status (const DictionaryDatum &d, nest::ConnectorModel &cm) |
|
void | send (nest::Event &e, nest::thread t, double t_lastspike, const CommonPropertiesType &cp) |
|
void | set_weight (double w) |
|
bool | is_degenerated () const |
|
template<typename targetidentifierT>
class spore::SporeTestConnection< targetidentifierT >
Connection for testing the spore module.
SporeTestConnection class provides an interface for writing unit tests for the SPORE module.
◆ is_degenerated()
template<typename targetidentifierT>
- Returns
- Never retract this synapse, so return always false.
◆ send()
template<typename targetidentifierT >
Send an event to the postsynaptic neuron. This will update the synapse state and synaptic weights to the current slice origin and send the spike event. This method is also triggered by the ConnectionUpdateManager to indicate that the synapse is running out of data. In this case an invalid rport of -1 is passed and the spike is not delivered to the postsynaptic neuron.
- Parameters
-
e | the spike event. |
thread | the id of the connections thread. |
t_last_spike | the time of the last spike. |
cp | the synapse type common properties. |
The documentation for this class was generated from the following file: