23 #ifndef CONNECTION_CREATOR_H
24 #define CONNECTION_CREATOR_H
120 typename std::vector<std::pair<Position<D>,
index> >::iterator
begin()
const;
121 typename std::vector<std::pair<Position<D>,
index> >::iterator
end()
const;
128 template<
typename Iterator,
int D>
181 if( tid == target_thread)
bool allow_multapses_
Definition: connection_creator.h:158
size_t index
Unsigned long type for enumerations.
Definition: nest.h:109
This class is a representation of the dictionary of connection properties given as an argument to the...
Definition: connection_creator.h:65
void connect_to_target_(Iterator from, Iterator to, Node *tgt_ptr, const Position< D > &tgt_pos, thread tgt_thread, const Layer< D > &source)
Definition: connection_creator_impl.h:77
Definition: connection_creator.h:68
double_t weight
Weight of a connection.
Definition: nest.h:170
index get_gid() const
Return global Network ID.
Definition: node.h:753
lockPTR< Parameter > delay_
Definition: connection_creator.h:167
index synapse_model_
Definition: connection_creator.h:165
Definition: lockptrdatum.h:40
const Name d("d")
Specific to Izhikevich 2003.
Definition: nest_names.h:83
Iterator iterating the nodes in a Quadtree inside a Mask.
Definition: ntree.h:128
index number_of_connections_
Definition: connection_creator.h:162
Contains rules for selecting nodes from a layer when connecting.
Definition: selector.h:36
void connect(Layer< D > &source, Layer< D > &target)
Connect two layers.
Definition: connection_creator_impl.h:38
void connect_(index s, Node *target, thread target_thread, double_t w, double_t d, index syn)
Definition: connection_creator.h:173
void convergent_connect_(Layer< D > &source, Layer< D > &target)
Definition: connection_creator_impl.h:337
Class for applying masks to layers.
Definition: connection_creator.h:42
lockPTR< Parameter > weight_
Definition: connection_creator.h:166
bool allow_oversized_
Definition: connection_creator.h:159
~PoolWrapper_()
Definition: connection_creator_impl.h:109
void divergent_connect_(Layer< D > &source, Layer< D > &target)
Definition: connection_creator_impl.h:561
void connect(index s, Node *target, thread target_thread, index syn, double_t d=NAN, double_t w=NAN)
Connect two nodes.
Definition: network.cpp:867
lockPTR< AbstractMask > mask_
Definition: connection_creator.h:163
Wrapper for masked and unmasked pools.
Definition: connection_creator.h:109
const Name w("w")
Specific to Brette & Gerstner 2005 (aeif_cond-*)
Definition: nest_names.h:343
std::vector< std::pair< Position< D >, index > > * positions_
Definition: connection_creator.h:125
Selector target_filter_
Definition: connection_creator.h:161
Abstract base class for Layer of given dimension (D=2 or 3).
Definition: connection_creator.h:39
int get_thread_id() const
Gets ID of local thread.
Definition: network.h:1264
MaskedLayer< D > * masked_layer_
Definition: connection_creator.h:124
PoolWrapper_()
Definition: connection_creator_impl.h:103
Network & net_
Definition: connection_creator.h:169
Definition: connection_creator.h:68
const Name source("source")
Connection parameters.
Definition: nest_names.h:260
const Name target("target")
Connection parameters.
Definition: nest_names.h:282
ConnectionCreator(DictionaryDatum dict)
Construct a ConnectionCreator with the properties defined in the given dictionary.
Definition: connection_creator.cpp:28
Declarations for class Network.
void target_driven_connect_(Layer< D > &source, Layer< D > &target)
Definition: connection_creator_impl.h:159
Definition: connection_creator.h:68
Main administrative interface to the network.
Definition: network.h:135
std::vector< std::pair< Position< D >, index > >::iterator end() const
Definition: connection_creator_impl.h:152
void get_parameters_(const Position< D > &pos, librandom::RngPtr rng, double &weight, double &delay)
Calculate parameter values for this position.
Definition: connection_creator_impl.h:68
ConnectionType
Definition: connection_creator.h:68
double double_t
Double precision floating point numbers.
Definition: nest.h:93
void define(MaskedLayer< D > *)
Definition: connection_creator_impl.h:116
lockPTR< Parameter > kernel_
Definition: connection_creator.h:164
std::vector< std::pair< Position< D >, index > >::iterator begin() const
Definition: connection_creator_impl.h:146
bool allow_autapses_
Definition: connection_creator.h:157
const Name target_thread("target_thread")
Connection parameters.
Definition: nest_names.h:283
Ntree< D, index >::masked_iterator masked_end() const
Definition: connection_creator_impl.h:140
Selector source_filter_
Definition: connection_creator.h:160
long_t delay
Delay of a connection.
Definition: nest.h:178
Ntree< D, index >::masked_iterator masked_begin(const Position< D > &pos) const
Definition: connection_creator_impl.h:134
void source_driven_connect_(Layer< D > &source, Layer< D > &target)
Definition: connection_creator_impl.h:215
Base class for all NEST network objects.
Definition: node.h:96
bool is_local_gid(index gid) const
Return true, if the given gid is on the local machine.
Definition: network.h:1020
ConnectionType type_
Definition: connection_creator.h:156
Definition: connection_creator.h:68
int_t thread
Thread index type.
Definition: nest.h:133