void MakeConnects

(CONNECT* CD, char* Map, int* nMade,
  CONNECTMSG* CMBuf, int* CelIDs, int* CmpIDs,
  double* src, int nSrcCells, double* dest,
  int nDestCells, double* distanceMap,
  int transpose=0 )

This function is for connections that depend on distances.

Documentation

This function is for connections that depend on distances. It handles two sub-types of connection probabilities: Decaying Probabilities and normal Probabilities. In the case of decaying probabilities, as the distance between two cells increase, the probability of connection decreases. In the case of normal probabilities, the probability stays constant. Both cases also use distance to modify synaptic delay based on the speed of the synapse type.

Parameters:
CD - Connection Description contains information regarding source and destination
Map - Matrix of connections to be filled in as connections are made. 1=connected, 0=no.
nMade - Number of Connections made when all probabilities have been thrown.
CMBuf - Data about the connections will be stored here, so that later it can be communicated to the Sending Node
CelIDs - Cell IDs that get connected will be stored here for quick lookup
CmpIDs - Compartment Ids that get connected will be stored here for quick lookup (although, shouldn't it always be the same?)
src - Pointer to the global Cell coordinates of the destination Node. If that Node is different from the source Node, the coordinate data must have been received previously.
nSrcCells - Total nnumber of Global Cells defined on the destination Node.
distanceMap - Matrix which will contain the final result of distance caluculation modified by the synapse speed. Rename delayMap?

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.