MTPropagatedSpikeBuffers Class Reference

#include <MTPropagatedSpikeBuffers.h>

Collaboration diagram for MTPropagatedSpikeBuffers:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 MTPropagatedSpikeBuffers (int numThreads, int minDelay, int maxDelay, int chunkSize=PROPAGATED_SPIKE_BUFFER_CHUNK_SIZE)
 Construction of the 2D array of propagated spike buffers.
virtual ~MTPropagatedSpikeBuffers ()

Public Attributes

vector< vector
< PropagatedSpikeBuffer * > > 
buffers
 2D array of pointers to individual propagated spike buffers.


Detailed Description

2D array of Propagated spike buffers.

Container of a two-dimensional array of PropagatedSpikeBuffer objects used in the MultiThreadSpikeScheduler for "non-conflict" concurrent inter-engine scheduling of spikes by multiple SingleThreadSimEngines.

If thread A has to schedule a spike which should be delivered to object in Thread B, then the spike is scheduled in buffer with indices [A][B].

Definition at line 15 of file MTPropagatedSpikeBuffers.h.


Constructor & Destructor Documentation

MTPropagatedSpikeBuffers::MTPropagatedSpikeBuffers ( int  numThreads,
int  minDelay,
int  maxDelay,
int  chunkSize = PROPAGATED_SPIKE_BUFFER_CHUNK_SIZE 
)

Construction of the 2D array of propagated spike buffers.

Parameters:
numThreads Number of threads for which the buffers should be constructed.
minDelay minimum synapse delay in timesteps. Used for creating the propagated spike buffers.
maxDelay Maximum synapse delay in timesteps. Used for creating the propagated spike buffers.
chunkSize size of one allocated chunk of memory for propagated spike buffers.

Definition at line 3 of file MTPropagatedSpikeBuffers.cpp.

References buffers.

MTPropagatedSpikeBuffers::~MTPropagatedSpikeBuffers (  )  [virtual]

Definition at line 17 of file MTPropagatedSpikeBuffers.cpp.

References buffers.


Member Data Documentation


The documentation for this class was generated from the following files:

Generated on Wed Jul 9 16:34:51 2008 for PCSIM by  doxygen 1.5.5