size_t index
Unsigned long type for enumerations.
Definition: nest.h:109
void cg_connect(ConnectionGeneratorDatum &cg, RangeSet &sources, index source_offset, RangeSet &targets, index target_offset, DictionaryDatum params_map, index syn)
Definition: cg_connect.cpp:30
void cg_get_ranges(RangeSet &ranges, std::vector< long > &gids)
Determine all contiguous ranges found in a given vector of gids and add the ranges to the given Range...
Definition: cg_connect.cpp:303
void cg_set_masks(ConnectionGeneratorDatum &cg, RangeSet &sources, RangeSet &targets)
Set the masks on the ConnectionGenerator cg.
Definition: cg_connect.cpp:130
index cg_get_right_border(index left, size_t step, std::vector< long > &gids)
Calculate the right border of the contiguous range of gids starting at left.
Definition: cg_connect.cpp:236
std::vector< ConnectionGenerator::ClosedInterval > RangeSet
Definition: conngenmodule.h:33
lockPTRDatum< ConnectionGenerator,&nest::ConnectionGeneratorModule::ConnectionGeneratorType > ConnectionGeneratorDatum
Definition: conngenmodule.h:118
void cg_create_masks(std::vector< ConnectionGenerator::Mask > *masks, RangeSet &sources, RangeSet &targets)
Create the masks for sources and targets based on the contiguous ranges given in sources and targets...
Definition: cg_connect.cpp:173
const Name sources("sources")
Definition: topology_names.h:56
const Name targets("targets")
Connection parameters.
Definition: nest_names.h:284