Graphitti
A toolkit/software architecture to ease creating high-performance neural network simulators
Loading...
Searching...
No Matches
AllLIFNeurons Class Reference
Inheritance diagram for AllLIFNeurons:
Collaboration diagram for AllLIFNeurons:

Public Member Functions

virtual void printParameters () const override
 
template<class Archive >
void serialize (Archive &archive)
 Cereal serialization method.
 
- Public Member Functions inherited from AllIFNeurons
virtual void setupVertices () override
 Setup the internal structure of the class (allocate memories).
 
virtual void loadParameters ()
 
virtual void createAllVertices (Layout &layout)
 
virtual string toString (int index) const
 
virtual void deserialize (istream &input)
 
virtual void serialize (ostream &output) const
 
template<class Archive >
void serialize (Archive &archive)
 Cereal serialization method.
 
The membrane time constant f$ (R_m \cdot C_m)\f$ vector< BGFLOAT > Tau_
 
template<class Archive >
Cereal serialization method void serialize (Archive &archive)
 
- Public Member Functions inherited from AllSpikingNeurons
void clearSpikeCounts ()
 Clear the spike counts out of all Neurons.
 
virtual void registerHistoryVariables () override
 
template<class Archive >
void serialize (Archive &archive)
 Cereal serialization method.
 
virtual void advanceVertices (AllEdges &synapses, const EdgeIndexMap &edgeIndexMap)
 
uint64_t getSpikeHistory (int index, int offIndex)
 
- Public Member Functions inherited from AllVertices
virtual void loadEpochInputs (uint64_t currentStep, uint64_t endStep)
 
template<class Archive >
void serialize (Archive &archive)
 Cereal serialization method.
 

Static Public Member Functions

static AllVerticesCreate ()
 

Protected Member Functions

virtual void advanceNeuron (int index)
 
virtual void fire (int index)
 
- Protected Member Functions inherited from AllIFNeurons
void createNeuron (int neuronIndex, Layout &layout)
 
void setNeuronDefaults (int index)
 
virtual void initNeuronConstsFromParamValues (int neuronIndex, BGFLOAT deltaT)
 
void readNeuron (istream &input, int i)
 
void writeNeuron (ostream &output, int i) const
 
- Protected Member Functions inherited from AllSpikingNeurons

Additional Inherited Members

- Public Attributes inherited from AllIFNeurons
vector< BGFLOAT > Trefract_
 The length of the absolute refractory period. [units=sec; range=(0,1);].
 
vector< BGFLOAT > Vthresh_
 If $V_m$ exceeds $V_{thresh}$ a spike is emmited. [units=V; range=(-10,100);].
 
vector< BGFLOAT > Vrest_
 The resting membrane voltage. [units=V; range=(-1,1);].
 
vector< BGFLOAT > Vreset_
 The voltage to reset $V_m$ to after a spike. [units=V; range=(-1,1);].
 
vector< BGFLOAT > Vinit_
 The initial condition for $V_m$ at time $t=0$. [units=V; range=(-1,1);].
 
vector< BGFLOAT > Cm_
 
vector< BGFLOAT > Rm_
 The membrane resistance $R_m$ [units=Ohm; range=(0,1e30)].
 
vector< BGFLOAT > Inoise_
 The standard deviation of the noise to be added each integration time constant. [range=(0,1); units=A;].
 
vector< BGFLOAT > Iinject_
 A constant current to be injected into the LIF neuron. [units=A; range=(-1,1);].
 
vector< BGFLOAT > Isyn_
 
vector< int > numStepsInRefractoryPeriod_
 The remaining number of time steps for the absolute refractory period.
 
vector< BGFLOAT > C1_
 Internal constant for the exponential Euler integration of f$V_m .
 
Internal constant for the exponential Euler integration of f$V_m f$ vector< BGFLOAT > C2_
 
Internal constant for the exponential Euler integration of f$V_m f$ vector< BGFLOAT > I0_
 
The membrane voltage f$V_m f$[readonly;units=V;] vector< BGFLOAT > Vm_
 
- Public Attributes inherited from AllSpikingNeurons
vector< bool > hasFired_
 The booleans which track whether the neuron has fired.
 
vector< EventBuffervertexEvents_
 Holds at least one epoch's worth of event times for every vertex.
 
- Public Attributes inherited from AllVertices
vector< BGFLOAT > summationPoints_
 
- Protected Attributes inherited from AllSpikingNeurons
bool fAllowBackPropagation_
 
- Protected Attributes inherited from AllVertices
int size_
 Total number of vertices.
 
log4cplus::Logger fileLogger_
 
log4cplus::Logger vertexLogger_
 

Detailed Description

Definition at line 83 of file AllLIFNeurons.h.

Member Function Documentation

◆ advanceNeuron()

void AllLIFNeurons::advanceNeuron ( int index)
protectedvirtual

Helper for advanceNeuron. Updates state of a single neuron.

Parameters
indexIndex of the neuron to update.

Update internal state of the indexed Neuron (called by every simulation step).

Parameters
indexIndex of the Neuron to update.

Implements AllSpikingNeurons.

Definition at line 24 of file AllLIFNeurons.cpp.

◆ Create()

static AllVertices * AllLIFNeurons::Create ( )
inlinestatic

Creates an instance of the class.

Returns
Reference to the instance of the class.

Definition at line 92 of file AllLIFNeurons.h.

◆ fire()

void AllLIFNeurons::fire ( int index)
protectedvirtual

Initiates a firing of a neuron to connected neurons.

Parameters
indexIndex of the neuron to fire.

Fire the selected Neuron and calculate the result.

Parameters
indexIndex of the Neuron to update.

Reimplemented from AllSpikingNeurons.

Definition at line 68 of file AllLIFNeurons.cpp.

◆ printParameters()

void AllLIFNeurons::printParameters ( ) const
overridevirtual

Prints out all parameters of the neurons to logging file. Registered to OperationManager as Operation::printParameters

Reimplemented from AllIFNeurons.

Definition at line 13 of file AllLIFNeurons.cpp.

◆ serialize()

template<class Archive >
void AllLIFNeurons::serialize ( Archive & archive)

Cereal serialization method.

Definition at line 134 of file AllLIFNeurons.h.


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