23 #ifndef CONNECTOR_MODEL_H
24 #define CONNECTOR_MODEL_H
34 class CommonSynapseProperties;
112 template <
typename ConnectionT >
115 typename ConnectionT::CommonPropertiesType
cp_;
ConnectionT default_connection_
Definition: connector_model.h:116
bool default_delay_needs_check_
Flag indicating, that the default delay must be checked.
Definition: connector_model.h:104
double_t weight
Weight of a connection.
Definition: nest.h:170
const Name receptor_type("receptor_type")
Connection parameters.
Definition: nest_names.h:240
ConnectionT::CommonPropertiesType cp_
Definition: connector_model.h:115
virtual ~ConnectorModel()
Definition: connector_model.h:44
Definition: lockptrdatum.h:40
const Name d("d")
Specific to Izhikevich 2003.
Definition: nest_names.h:83
const Time & get_max_delay() const
Definition: connector_model.h:49
void set_status(const DictionaryDatum &)
Definition: connector_model_impl.h:136
ConnectionT const & get_default_connection() const
Definition: connector_model.h:149
Definition: connector_base.h:88
void assert_two_valid_delays_steps(long_t, long_t)
Raise exception if either of the two delays in steps is invalid.
Definition: connector_model.cpp:113
const Time & get_min_delay() const
Definition: connector_model.h:48
GenericConnectorModel(const GenericConnectorModel &cm, const std::string name)
Definition: connector_model.h:126
ConnectorModel * clone(std::string) const
Definition: connector_model_impl.h:89
long_t rport
Connection port number to distinguish incoming connections, also called receiver port.
Definition: nest.h:147
virtual ConnectorBase * add_connection(Node &src, Node &tgt, ConnectorBase *conn, synindex syn_id, double_t delay=NAN, double_t weight=NAN)=0
NAN is a special value in cmath, which describes double values that are not a number.
virtual const CommonSynapseProperties & get_common_properties() const =0
Time max_delay_
Maximal delay of all created synapses.
Definition: connector_model.h:102
virtual void set_status(const DictionaryDatum &)=0
ConnectorModel(Network &net, const std::string)
Definition: connector_model.cpp:30
Network & net_
The Network instance.
Definition: connector_model.h:100
ConnectionT::CommonPropertiesType const & get_common_properties() const
Definition: connector_model.h:145
virtual void get_status(DictionaryDatum &) const =0
Network & network() const
Definition: connector_model.h:97
size_t num_connections_
The number of connections registered with this type.
Definition: connector_model.h:103
std::string get_name() const
Definition: connector_model.h:93
bool get_user_set_delay_extrema() const
Definition: connector_model.h:95
Definition: nest_time.h:130
virtual void calibrate(const TimeConverter &tc)=0
virtual void set_syn_id(synindex syn_id)=0
void set_syn_id(synindex syn_id)
Definition: connector_model_impl.h:230
GenericConnectorModel(Network &net, const std::string name)
Definition: connector_model.h:121
size_t get_num_connections() const
Definition: connector_model.h:161
rport receptor_type_
Definition: connector_model.h:117
Main administrative interface to the network.
Definition: network.h:135
Time min_delay_
Minimal delay of all created synapses.
Definition: connector_model.h:101
Class to convert times from one representation to another.
Definition: nest_timeconverter.h:45
void used_default_delay()
Definition: connector_model_impl.h:216
virtual ConnectorModel * clone(std::string) const =0
double double_t
Double precision floating point numbers.
Definition: nest.h:93
std::string name_
Definition: connector_model.h:107
bool user_set_delay_extrema_
Flag indicating if the user set the delay extrema.
Definition: connector_model.h:105
bool used_default_delay_
Definition: connector_model.h:106
Class containing the common properties for all connections of a certain type.
Definition: common_synapse_properties.h:44
unsigned char synindex
Unsigned char type for enumerations of synapse types.
Definition: nest.h:115
void get_status(DictionaryDatum &) const
Definition: connector_model_impl.h:110
long_t delay
Delay of a connection.
Definition: nest.h:178
Default types used by the NEST kernel.
Base class for all NEST network objects.
Definition: node.h:96
void calibrate(const TimeConverter &tc)
Definition: connector_model_impl.h:95
void assert_valid_delay_ms(double_t)
Raise exception if delay value in milliseconds is invalid.
Definition: connector_model.cpp:67
const Name c("c")
Specific to Izhikevich 2003.
Definition: nest_names.h:62
Definition: connector_model.h:38
long long_t
Integer number with at least 32 bit.
Definition: nest.h:96
Definition: connector_model.h:113
ConnectorBase * add_connection(Node &src, Node &tgt, ConnectorBase *conn, synindex syn_id, double_t weight, double_t delay)
delay and weight have the default value NAN.
Definition: connector_model_impl.h:242
void update_delay_extrema(const double_t mindelay_cand, const double_t maxdelay_cand)
Definition: connector_model.cpp:53