NEST
2.6.0,not_revisioned_source_dir@0
|
Class representing an STDPDopaConnection with homogeneous parameters, i.e. More...
#include <stdp_dopa_connection.h>
Classes | |
class | ConnTestDummyNode |
Public Types | |
typedef STDPDopaCommonProperties | CommonPropertiesType |
typedef Connection < targetidentifierT > | ConnectionBase |
Public Member Functions | |
STDPDopaConnection () | |
Default Constructor. More... | |
STDPDopaConnection (const STDPDopaConnection &) | |
Copy constructor from a property object. 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, const STDPDopaCommonProperties &cp) |
Send an event to the receiver of this connection. More... | |
void | trigger_update_weight (thread t, const vector< spikecounter > &dopa_spikes, double_t t_trig, const STDPDopaCommonProperties &cp) |
void | check_connection (Node &s, Node &t, rport receptor_type, double_t t_lastspike, const CommonPropertiesType &cp) |
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 Member Functions | |
void | update_dopamine_ (const vector< spikecounter > &dopa_spikes, const STDPDopaCommonProperties &cp) |
void | update_weight_ (double_t c0, double_t n0, double_t minus_dt, const STDPDopaCommonProperties &cp) |
void | process_dopa_spikes_ (const vector< spikecounter > &dopa_spikes, double_t t0, double_t t1, const STDPDopaCommonProperties &cp) |
void | facilitate_ (double_t kplus, const STDPDopaCommonProperties &cp) |
void | depress_ (double_t kminus, const STDPDopaCommonProperties &cp) |
Private Attributes | |
double_t | weight_ |
double_t | Kplus_ |
double_t | c_ |
double_t | n_ |
index | dopa_spikes_idx_ |
double_t | t_last_update_ |
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... | |
Class representing an STDPDopaConnection with homogeneous parameters, i.e.
parameters are the same for all synapses.
typedef STDPDopaCommonProperties nest::STDPDopaConnection< targetidentifierT >::CommonPropertiesType |
typedef Connection<targetidentifierT> nest::STDPDopaConnection< targetidentifierT >::ConnectionBase |
nest::STDPDopaConnection< targetidentifierT >::STDPDopaConnection | ( | ) |
Default Constructor.
Sets default values for all parameters. Needed by GenericConnectorModel.
nest::STDPDopaConnection< targetidentifierT >::STDPDopaConnection | ( | const STDPDopaConnection< targetidentifierT > & | rhs | ) |
Copy constructor from a property object.
Needs to be defined properly in order for GenericConnector to work.
|
inline |
|
inlineprivate |
References nest::STDPDopaCommonProperties::A_minus_.
|
inlineprivate |
References nest::STDPDopaCommonProperties::A_plus_.
void nest::STDPDopaConnection< targetidentifierT >::get_status | ( | DictionaryDatum & | d | ) | const |
Get all properties of this connection and put them into a dictionary.
References nest::names::d, and nest::names::weight.
|
inlineprivate |
|
inline |
Send an event to the receiver of this connection.
e | The event to send |
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 nest::volume_transmitter::deliver_spikes(), numerics::e, nest::Node::get_history(), nest::Node::get_K_value(), nest::Time::get_ms(), nest::Event::get_stamp(), nest::Event::set_delay(), nest::Event::set_receiver(), nest::Event::set_rport(), nest::Event::set_weight(), nest::names::start, nest::names::t_spike, nest::names::target, nest::STDPDopaCommonProperties::tau_plus_, and nest::STDPDopaCommonProperties::vt_.
void nest::STDPDopaConnection< targetidentifierT >::set_status | ( | const DictionaryDatum & | d, |
ConnectorModel & | cm | ||
) |
Set properties of this connection from the values given in dictionary.
References nest::names::d, and nest::names::weight.
|
inline |
References nest::names::w, and nest::STDPDopaConnection< targetidentifierT >::weight_.
|
inline |
|
inlineprivate |
References nest::STDPDopaCommonProperties::tau_n_.
|
inlineprivate |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Referenced by nest::STDPDopaConnection< targetidentifierT >::set_weight().