Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members  

SpikeInput Class Reference

#include <amygdala/spikeinput.h>

Inheritance diagram for SpikeInput:

MpSpikeInput SimpleSpikeInput List of all members.

Public Methods

 SpikeInput (Network *network)
virtual ~SpikeInput ()=0
bool ReadSpikeList (const char *fileName)
virtual bool ReadSpikeDef (const char *fileName)
virtual void ReadInputBuffer ()=0
void ParseSpikeInput (const char *name, const char **attrs)

Protected Methods

void SetTime (AmTimeInt now)
void ScheduleQueuedSpikes ()
void RoundTime (AmTimeInt &time)

Protected Attributes

unsigned int currTime
unsigned int simStepSize
Networknet
vector< InSpike > inputSpike
unsigned int saxErrors

Friends

class Network

Detailed Description

The base class for everything that feeds spikes into a network. Usually it has to be extended by an application to form the applications interface to the Neurons.
See also:
SimpleSpikeInput
Author:
Matt Grover , Rüdiger Koch


Member Function Documentation

virtual void SpikeInput::ReadInputBuffer   [pure virtual]
 

If streaming input has been turned on in Network, the event loop will call ReadInputBuffer() every time the input spike queue has been emptied. This should read additional input from some source and add it to the input queue.

Implemented in MpSpikeInput.

virtual bool SpikeInput::ReadSpikeDef const char *    fileName [virtual]
 

Read XML file describing spike input patterns.

bool SpikeInput::ReadSpikeList const char *    fileName
 

Read simple spike vector file. Replaces NetworkLoader::ReadInputFile()


The documentation for this class was generated from the following file:
Generated on Wed Sep 4 02:30:37 2002 for Amygdala by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002