Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

SpikeGraph Class Reference

#include <SpikeGraph.h>

List of all members.

Public Member Functions

Public Attributes

Private Attributes


Detailed Description

Draws a spikegram (used to illustrate the activity of a spiking neural network).

Definition at line 12 of file SpikeGraph.h.


Constructor & Destructor Documentation

SpikeGraph::SpikeGraph int  nNeurons,
int  bufferSize
 

Definition at line 11 of file SpikeGraph.cpp.

References data, dataSize, and index.

SpikeGraph::~SpikeGraph  )  [virtual]
 

Definition at line 20 of file SpikeGraph.cpp.

References data.


Member Function Documentation

void SpikeGraph::advanceTime  )  [inline]
 

Definition at line 40 of file SpikeGraph.h.

void SpikeGraph::draw wxDC *  outdc,
int  x,
int  y,
int  h = 1
 

Definition at line 27 of file SpikeGraph.cpp.

References getValue().

bool SpikeGraph::getValue int  neuron,
int  i
[inline]
 

Definition at line 48 of file SpikeGraph.h.

Referenced by draw().

void SpikeGraph::push int  neuron,
bool  value
[inline]
 

Definition at line 31 of file SpikeGraph.h.


Member Data Documentation

int SpikeGraph::bufferSize
 

The size of the memory buffer of the graph

Definition at line 18 of file SpikeGraph.h.

bool** SpikeGraph::data [private]
 

Definition at line 57 of file SpikeGraph.h.

Referenced by SpikeGraph(), and ~SpikeGraph().

int SpikeGraph::dataSize
 

The actual size of the data that was already set.

Definition at line 21 of file SpikeGraph.h.

Referenced by SpikeGraph().

int SpikeGraph::index
 

The index that marks the start of the data. Virtually, the new data values added to the graph are pushed at the end of the data stack, while old values are popped at the beginning. In practice, just the index that marks the start of the data moves, while the new data values are overwritten over the older ones.

Definition at line 29 of file SpikeGraph.h.

Referenced by SpikeGraph().

int SpikeGraph::nNeurons
 

Definition at line 23 of file SpikeGraph.h.


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

Thyrix homepageUsers' guide

(C) Arxia 2004-2005