NEST
2.6.0,not_revisioned_source_dir@0
|
#include <tsodyks2_connection.h>
Classes | |
class | ConnTestDummyNode |
Public Types | |
typedef CommonSynapseProperties | CommonPropertiesType |
typedef Connection < targetidentifierT > | ConnectionBase |
Public Member Functions | |
Tsodyks2Connection () | |
Default Constructor. More... | |
Tsodyks2Connection (const Tsodyks2Connection &) | |
Copy constructor from a property object. More... | |
~Tsodyks2Connection () | |
Default Destructor. More... | |
void | get_status (DictionaryDatum &d) const |
Get all properties of this connection and put them into a dictionary. More... | |
void | set_status (const DictionaryDatum &d, ConnectorModel &cm) |
Set properties of this connection from the values given in dictionary. More... | |
void | send (Event &e, thread t, double_t t_lastspike, const CommonSynapseProperties &cp) |
Send an event to the receiver of this connection. More... | |
void | check_connection (Node &s, Node &t, rport receptor_type, double_t, const CommonPropertiesType &) |
void | set_weight (double_t w) |
Public Member Functions inherited from nest::Connection< targetidentifierT > | |
Connection () | |
Connection (const Connection< targetidentifierT > &rhs) | |
void | get_status (DictionaryDatum &d) const |
Get all properties of this connection and put them into a dictionary. More... | |
void | set_status (const DictionaryDatum &d, ConnectorModel &cm) |
Set properties of this connection from the values given in dictionary. More... | |
void | calibrate (const TimeConverter &) |
Calibrate the delay of this connection to the desired resolution. More... | |
double_t | get_delay () const |
Return the delay of the connection in ms. More... | |
long_t | get_delay_steps () const |
Return the delay of the connection in steps. More... | |
void | set_delay (const double_t delay) |
Set the delay of the connection. More... | |
void | set_delay_steps (const long_t delay) |
Set the delay of the connection in steps. More... | |
void | set_syn_id (synindex syn_id) |
Set the synapse id of the connection. More... | |
synindex | get_syn_id () const |
Get the synapse id of the connection. More... | |
void | trigger_update_weight (const thread, const std::vector< spikecounter > &, const double_t, const CommonSynapseProperties &) |
triggers an update of a synaptic weight this function is needed for neuromodulated synaptic plasticity More... | |
Node * | get_target (thread t) const |
rport | get_rport () const |
Private Attributes | |
double_t | weight_ |
double_t | U_ |
unit increment of a facilitating synapse More... | |
double_t | u_ |
dynamic value of probability of release More... | |
double_t | x_ |
current fraction of the synaptic weight More... | |
double_t | tau_rec_ |
[ms] time constant for recovery More... | |
double_t | tau_fac_ |
[ms] time constant for facilitation More... | |
Additional Inherited Members | |
Protected Member Functions inherited from nest::Connection< targetidentifierT > | |
void | check_connection_ (Node &dummy_target, Node &source, Node &target, rport receptor_type) |
This function calls check_connection() on the sender to check if the receiver accepts the event type and receptor type requested by the sender. More... | |
Protected Attributes inherited from nest::Connection< targetidentifierT > | |
targetidentifierT | target_ |
SynIdDelay | syn_id_delay_ |
syn_id (char) and delay (24 bit) in timesteps of this connection More... | |
typedef CommonSynapseProperties nest::Tsodyks2Connection< targetidentifierT >::CommonPropertiesType |
typedef Connection<targetidentifierT> nest::Tsodyks2Connection< targetidentifierT >::ConnectionBase |
nest::Tsodyks2Connection< targetidentifierT >::Tsodyks2Connection | ( | ) |
Default Constructor.
Sets default values for all parameters. Needed by GenericConnectorModel.
nest::Tsodyks2Connection< targetidentifierT >::Tsodyks2Connection | ( | const Tsodyks2Connection< targetidentifierT > & | rhs | ) |
Copy constructor from a property object.
Needs to be defined properly in order for GenericConnector to work.
|
inline |
Default Destructor.
|
inline |
void nest::Tsodyks2Connection< targetidentifierT >::get_status | ( | DictionaryDatum & | d | ) | const |
Get all properties of this connection and put them into a dictionary.
References nest::names::d, nest::names::dU, nest::names::size_of, nest::names::tau_fac, nest::names::tau_rec, nest::names::u, nest::names::weight, and nest::names::x.
|
inline |
Send an event to the receiver of this connection.
e | The event to send |
t_lastspike | Point in time of last spike sent. |
cp | Common properties to all synapses (empty). |
e | The event to send |
p | The port under which this connection is stored in the Connector. |
t_lastspike | Time point of last spike emitted |
References numerics::e, nest::Time::get_ms(), nest::Event::get_stamp(), nest::names::h, nest::Event::set_delay(), nest::Event::set_receiver(), nest::Event::set_rport(), nest::Event::set_weight(), and nest::names::target.
void nest::Tsodyks2Connection< targetidentifierT >::set_status | ( | const DictionaryDatum & | d, |
ConnectorModel & | cm | ||
) |
Set properties of this connection from the values given in dictionary.
References nest::names::d, nest::names::dU, nest::names::tau_fac, nest::names::tau_rec, nest::names::u, nest::names::weight, and nest::names::x.
|
inline |
References nest::names::w, and nest::Tsodyks2Connection< targetidentifierT >::weight_.
|
private |
[ms] time constant for facilitation
|
private |
[ms] time constant for recovery
|
private |
unit increment of a facilitating synapse
|
private |
dynamic value of probability of release
|
private |
Referenced by nest::Tsodyks2Connection< targetidentifierT >::set_weight().
|
private |
current fraction of the synaptic weight