Graphitti
A toolkit/software architecture to ease creating high-performance neural network simulators
|
Public Member Functions | |
virtual void | setupVertices () override |
Setup the internal structure of the class (allocate memories). | |
virtual void | printParameters () const override |
virtual void | createAllVertices (Layout &layout) override |
virtual string | toString (int index) const override |
virtual void | deserialize (istream &input) override |
virtual void | serialize (ostream &output) const override |
template<class Archive > | |
void | serialize (Archive &archive) |
Cereal serialization method. | |
![]() | |
virtual void | loadParameters () |
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 () |
Public Attributes | |
vector< BGFLOAT > | Aconst_ |
A constant (0.02, 01) describing the coupling of variable u to Vm. | |
vector< BGFLOAT > | Bconst_ |
A constant controlling sensitivity of u. | |
vector< BGFLOAT > | Cconst_ |
A constant controlling reset of Vm. | |
vector< BGFLOAT > | Dconst_ |
A constant controlling reset of u. | |
vector< BGFLOAT > | u_ |
internal variable. | |
vector< BGFLOAT > | C3_ |
Internal constant for the exponential Euler integration. | |
![]() | |
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_ |
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) override |
void | readNeuron (istream &input, int index) |
void | writeNeuron (ostream &output, int index) const |
![]() | |
void | createNeuron (int neuronIndex, Layout &layout) |
void | setNeuronDefaults (int index) |
void | readNeuron (istream &input, int i) |
void | writeNeuron (ostream &output, int i) const |
![]() |
Additional Inherited Members | |
![]() | |
bool | fAllowBackPropagation_ |
![]() | |
int | size_ |
Total number of vertices. | |
log4cplus::Logger | fileLogger_ |
log4cplus::Logger | vertexLogger_ |
Definition at line 83 of file AllIZHNeurons.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 210 of file AllIZHNeurons.cpp.
|
inlinestatic |
Definition at line 89 of file AllIZHNeurons.h.
|
overridevirtual |
Creates all the Neurons and assigns initial data for them.
layout | Layout information of the neural network. |
Creates all the Neurons and generates data for them.
layout | Layout information of the neural network. |
Reimplemented from AllIFNeurons.
Definition at line 54 of file AllIZHNeurons.cpp.
|
protected |
Creates a single Neuron and generates data for it.
neuronIndex | Index of the neuron to create. |
layout | Layout information of the neural network. |
Creates a single Neuron and generates data for it.
i | Index of the neuron to create. |
layout | Layout information of the neural network. |
Definition at line 69 of file AllIZHNeurons.cpp.
|
overridevirtual |
Reads and sets the data for all neurons from input stream.
input | istream to read from. |
Sets the data for Neurons to input's data.
input | istream to read from. |
Reimplemented from AllIFNeurons.
Definition at line 150 of file AllIZHNeurons.cpp.
|
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 274 of file AllIZHNeurons.cpp.
|
overrideprotectedvirtual |
Initializes the Neuron constants at the indexed location.
neuronIndex | Index of the Neuron. |
deltaT | Inner simulation step duration |
Initializes the Neuron constants at the indexed location.
i | Index of the Neuron. |
deltaT | Inner simulation step duration |
Reimplemented from AllIFNeurons.
Definition at line 120 of file AllIZHNeurons.cpp.
|
overridevirtual |
Prints out all parameters of the neurons to logging file. Registered to OperationManager as Operation::printParameters
Reimplemented from AllIFNeurons.
Definition at line 26 of file AllIZHNeurons.cpp.
|
protected |
Sets the data for Neuron #index to input's data.
input | istream to read from. |
index | index of the neuron (in neurons). |
Definition at line 161 of file AllIZHNeurons.cpp.
void AllIZHNeurons::serialize | ( | Archive & | archive | ) |
Cereal serialization method.
Definition at line 328 of file AllIZHNeurons.h.
|
overridevirtual |
Writes out the data in all neurons to output stream.
output | stream to write out to. |
Writes out the data in Neurons.
output | stream to write out to. |
Reimplemented from AllIFNeurons.
Definition at line 182 of file AllIZHNeurons.cpp.
|
protected |
Set the Neuron at the indexed location to default values.
index | Index of the Neuron that the synapse belongs to. |
Set the Neuron at the indexed location to default values.
i | Index of the Neuron to refer. |
Definition at line 103 of file AllIZHNeurons.cpp.
|
overridevirtual |
Setup the internal structure of the class (allocate memories).
Setup the internal structure of the class. Allocate memories to store all neurons' state.
Reimplemented from AllIFNeurons.
Definition at line 13 of file AllIZHNeurons.cpp.
|
overridevirtual |
Outputs state of the neuron chosen as a string.
index | index of the neuron (in neurons) to output info from. |
Reimplemented from AllIFNeurons.
Definition at line 132 of file AllIZHNeurons.cpp.
|
protected |
Writes out the data in the selected Neuron.
output | stream to write out to. |
index | index of the neuron (in neurons). |
Definition at line 193 of file AllIZHNeurons.cpp.
vector<BGFLOAT> AllIZHNeurons::Aconst_ |
A constant (0.02, 01) describing the coupling of variable u to Vm.
Definition at line 248 of file AllIZHNeurons.h.
vector<BGFLOAT> AllIZHNeurons::Bconst_ |
A constant controlling sensitivity of u.
Definition at line 251 of file AllIZHNeurons.h.
vector<BGFLOAT> AllIZHNeurons::C3_ |
Internal constant for the exponential Euler integration.
Definition at line 263 of file AllIZHNeurons.h.
vector<BGFLOAT> AllIZHNeurons::Cconst_ |
A constant controlling reset of Vm.
Definition at line 254 of file AllIZHNeurons.h.
vector<BGFLOAT> AllIZHNeurons::Dconst_ |
A constant controlling reset of u.
Definition at line 257 of file AllIZHNeurons.h.
vector<BGFLOAT> AllIZHNeurons::u_ |
internal variable.
Definition at line 260 of file AllIZHNeurons.h.