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

FastNeuron Class Reference

FastNeuron implements a neuron model with a PSP that has no rise time and an exponential decay. More...

#include <amygdala/fastneuron.h>

Inheritance diagram for FastNeuron:

Neuron List of all members.

Public Methods

 FastNeuron (AmIdInt neuronId)
virtual ~FastNeuron ()
virtual float * InitializeLookupTable (int index)
virtual float * GetTableParams (int index, int &numParams)
virtual const char * ClassId ()

Protected Methods

virtual void InputSpike (SynapseItr &inSynapse, AmTimeInt inTime, unsigned int numSyn=0)
virtual int SetLookupTables (FunctionLookup *funcRef)
virtual int FillLookupTables (int index)
virtual void SetMaxScaledWeight ()

Detailed Description

FastNeuron implements a neuron model with a PSP that has no rise time and an exponential decay.

Both the inhibitory and excitatory PSPs have the form

Only the membrane time constant is used for this neuron, the synaptic time constant is assumed to be 0 regardless of how it is set through the API.

See also:
Neuron, AlphaNeuron, BasicNeuron
Author:
Matt Grover


Constructor & Destructor Documentation

FastNeuron::FastNeuron AmIdInt    neuronId
 

Parameters:
neuronId  A unique, positive integer that is used to identify the neuron.


Member Function Documentation

virtual const char* FastNeuron::ClassId   [inline, virtual]
 

return "FastNeuron". this is needed for xml tags.

Implements Neuron.

virtual int FastNeuron::FillLookupTables int    index [protected, virtual]
 

Fill the lookup table corresponding to index. Two tables are used in this class -- a PostSynaptic potential table and a table holding values for the derivative of the potential.

Parameters:
index  Index number of table to be populated.

virtual float* FastNeuron::GetTableParams int    index,
int &    numParams
[virtual]
 

This is an internal function and should only be called by FunctionLookup. This function will be either removed or made private for Amygdala 0.4.

Returns:
An array containing any values used to generate the lookup tables that were set at runtime.
Parameters:
index 
numParams  Number of unique parameters (variables) needed to generate the lookup table associated with index.

Implements Neuron.

virtual float* FastNeuron::InitializeLookupTable int    index [virtual]
 

Fill a lookup table and return a pointer to the first element. Neuron::SetTableDimensions() should be called first. This is an internal function and should only be called by FunctionLookup. This function will be made private or removed completely for Amygdala 0.4.

Parameters:
index  The index of the table to be initialized.
Returns:
A pointer to the lookup table (an array of floats).

Implements Neuron.

virtual void FastNeuron::InputSpike SynapseItr &    inSynapse,
AmTimeInt    inTime,
unsigned int    numSyn = 0
[protected, virtual]
 

Send a spike to this Neuron. When spikes are grouped, this function will only be called once per step, but it can be called multiple times otherwise. This should only be called from other Neurons or the Network.

Parameters:
inSynapse  The synapses that the incoming spikes are crossing. (locations of the weights).
inTime  Time of input (microseconds).
numSyn  Number of synapses that are receiving input during the current time step. The default value of 0 indicates that spikes are not being grouped together and only a single spike is being passed.
See also:
Neuron::SendSpike(), Network::SendDelayedSpikes().

Implements Neuron.

virtual int FastNeuron::SetLookupTables FunctionLookup   funcRef [protected, virtual]
 

Query funcRef to see if a lookup table has already been generated for an identical neuron and retrieve a pointer to the table if it has. This is an internal function and should not be called by library users.

Parameters:
funcRef  Pointer to a FunctionLookup object.

Implements Neuron.

virtual void FastNeuron::SetMaxScaledWeight   [protected, virtual]
 

Determine the maximum value of a weight for this neuron and set maxScaledWeight to this value. This will be used as the multiplication factor to convert to and from the normalized weight values that are used in the public interface.

NOTE: This function will be deprecated in version 0.4 if favor of normalizing PSP curves rather than recalculating normalized weights.

Reimplemented from Neuron.


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