Graphitti
A toolkit/software architecture to ease creating high-performance neural network simulators
|
Public Member Functions | |
virtual void | printParameters () const override |
template<class Archive > | |
void | serialize (Archive &archive) |
Cereal serialization method. | |
![]() | |
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) |
![]() | |
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) |
![]() | |
virtual void | loadEpochInputs (uint64_t currentStep, uint64_t endStep) |
template<class Archive > | |
void | serialize (Archive &archive) |
Cereal serialization method. | |
Static Public Member Functions | |
static AllVertices * | Create () |
Protected Member Functions | |
virtual void | advanceNeuron (int index) |
virtual void | fire (int index) |
![]() | |
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 |
![]() |
Additional Inherited Members | |
![]() | |
vector< BGFLOAT > | Trefract_ |
The length of the absolute refractory period. [units=sec; range=(0,1);]. | |
vector< BGFLOAT > | Vthresh_ |
If ![]() ![]() | |
vector< BGFLOAT > | Vrest_ |
The resting membrane voltage. [units=V; range=(-1,1);]. | |
vector< BGFLOAT > | Vreset_ |
The voltage to reset ![]() | |
vector< BGFLOAT > | Vinit_ |
The initial condition for ![]() ![]() | |
vector< BGFLOAT > | Cm_ |
vector< BGFLOAT > | Rm_ |
The membrane resistance ![]() | |
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_ |
![]() | |
vector< bool > | hasFired_ |
The booleans which track whether the neuron has fired. | |
vector< EventBuffer > | vertexEvents_ |
Holds at least one epoch's worth of event times for every vertex. | |
![]() | |
vector< BGFLOAT > | summationPoints_ |
![]() | |
bool | fAllowBackPropagation_ |
![]() | |
int | size_ |
Total number of vertices. | |
log4cplus::Logger | fileLogger_ |
log4cplus::Logger | vertexLogger_ |
Definition at line 83 of file AllLIFNeurons.h.
|
protectedvirtual |
Helper for advanceNeuron. Updates state of a single neuron.
index | Index of the neuron to update. |
Update internal state of the indexed Neuron (called by every simulation step).
index | Index of the Neuron to update. |
Implements AllSpikingNeurons.
Definition at line 24 of file AllLIFNeurons.cpp.
|
inlinestatic |
Creates an instance of the class.
Definition at line 92 of file AllLIFNeurons.h.
|
protectedvirtual |
Initiates a firing of a neuron to connected neurons.
index | Index of the neuron to fire. |
Fire the selected Neuron and calculate the result.
index | Index of the Neuron to update. |
Reimplemented from AllSpikingNeurons.
Definition at line 68 of file AllLIFNeurons.cpp.
|
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.
void AllLIFNeurons::serialize | ( | Archive & | archive | ) |
Cereal serialization method.
Definition at line 134 of file AllLIFNeurons.h.