120 vector<Node*>::const_iterator
local_end()
const;
293 if ( lid >=
nodes_.size() )
vector< Node * >::iterator local_end()
Return iterator to the end of the local child-list.
Definition: subnet.h:246
size_t index
Unsigned long type for enumerations.
Definition: nest.h:109
Multirange gids_
GIDs of global child nodes.
Definition: subnet.h:192
Base class for all subnet nodes.
Definition: subnet.h:67
index get_gid() const
Return global Network ID.
Definition: node.h:753
Definition: lockptrdatum.h:40
void set_status(const DictionaryDatum &)
Definition: subnet.cpp:57
const Name d("d")
Specific to Izhikevich 2003.
Definition: nest_names.h:83
Declarations for base class Node.
void get_dimensions_(std::vector< int > &) const
Definition: subnet.cpp:71
void get_status(DictionaryDatum &) const
Definition: subnet.cpp:63
void set_label(std::string const)
Set the subnet's user label.
Definition: subnet.cpp:233
index last_mid_
model index of last child
Definition: subnet.h:201
void init_buffers_()
Private function to initialize the buffers of a node.
Definition: subnet.h:173
bool is_subnet() const
Definition: subnet.cpp:245
void push_back(index x)
Definition: multirange.h:75
bool homogeneous_
flag which indicates if the subnet contains different kinds of models.
Definition: subnet.h:200
index size() const
Definition: multirange.h:93
void init_state_(const Node &)
Private function to initialize the state of a node to model defaults.
Definition: subnet.h:172
bool local_empty() const
returns true if subnet has no local nodes
Definition: subnet.h:264
DictionaryDatum get_customdict() const
Set the subnet's custom dictionary.
Definition: subnet.h:312
void set_subnet_index_(index)
Index into node array in subnet.
Definition: node.h:777
Definition: nest_time.h:130
vector< Node * > nodes_
Pointer to child nodes.
Definition: subnet.h:185
virtual ~Subnet()
Definition: subnet.h:75
std::string label_
user-defined label for this node.
Definition: subnet.h:197
bool is_homogeneous() const
Definition: subnet.h:330
void calibrate()
Re-calculate dependent parameters of the node.
Definition: subnet.h:175
bool empty() const
Definition: multirange.h:99
size_t local_size() const
Returns number of childern in local process.
Definition: subnet.h:282
std::string get_label() const
Return the subnets's user label.
Definition: subnet.h:306
index add_remote_node(index gid, index mid)
Add a remote node to the subnet.
Definition: subnet.h:228
const Name lid("lid")
Definition: topology_names.h:58
size_t global_size() const
Returns total number of children.
Definition: subnet.h:276
void init_node_(const Node &)
Definition: subnet.h:171
int get_model_id() const
Return model ID of the node.
Definition: node.h:783
Node * at_lid(index) const
Return pointer to Node at given LID if it is local.
Definition: subnet.h:288
void set_parent_(Subnet *)
Set pointer to parent subnet.
Definition: node.h:807
index add_node(Node *)
Add a local node to the subnet.
Definition: subnet.h:208
const Name n("n")
Number of synaptic release sites (int >=0) (Tsodyks2_connection)
Definition: nest_names.h:202
bool has_proxies() const
Returns true if the node has proxies on remote threads.
Definition: subnet.h:324
Class for sequences of ranges acting like a compressed vector.
Definition: multirange.h:35
vector< Node * >::iterator local_begin()
Return iterator to the first local child node.
Definition: subnet.h:240
Base class for all NEST network objects.
Definition: node.h:96
bool global_empty() const
returns true if subnet is empty globally
Definition: subnet.h:270
std::string print_network(int, int, std::string="")
Prints out one line of the tree view of the network.
Definition: subnet.cpp:102
void set_customdict(DictionaryDatum const dict)
Return pointer to the subnet's custom dictionary.
Definition: subnet.h:318
void reserve(size_t)
Definition: subnet.h:300
Exception to be thrown if the specified Node does not exist.
Definition: exceptions.h:175
void set_lid_(index)
Set local id, relative to the parent subnet.
Definition: node.h:771
long long_t
Integer number with at least 32 bit.
Definition: nest.h:96
void update(Time const &, const long_t, const long_t)
Bring the node from state $t$ to $t+n*dt$.
Definition: subnet.h:176
DictionaryDatum customdict_
user-defined dictionary for this node.
Definition: subnet.h:198
Subnet()
Definition: subnet.cpp:35