SpikeStream Nemo Plugin
0.2
|
#include <STDPFunctions.h>
Static Public Member Functions | |
static void | cleanup () |
static timestep_t | getApplySTDPInterval (unsigned functionID) |
static QString | getFunctionDescription (unsigned functionID) |
static QList< unsigned > | getFunctionIDs () |
static QHash< QString, double > | getParameters (unsigned functionID) |
static void | setParameters (unsigned functionID, QHash< QString, double > &newParameterMap) |
static QHash< QString, double > | getDefaultParameters (unsigned functionID) |
static QList< ParameterInfo > | getParameterInfoList (unsigned functionID) |
static float * | getPreArray (unsigned functionID) |
static int | getPreLength (unsigned functionID) |
static float * | getPostArray (unsigned functionID) |
static int | getPostLength (unsigned functionID) |
static float | getMinExcitatoryWeight (unsigned functionID) |
static float | getMaxExcitatoryWeight (unsigned functionID) |
static float | getMinInhibitoryWeight (unsigned functionID) |
static float | getMaxInhibitoryWeight (unsigned functionID) |
static float | getReward (unsigned functionID) |
static void | print (unsigned functionID) |
Holds STDP functions for NeMo.
Definition at line 19 of file STDPFunctions.h.
void STDPFunctions::cleanup | ( | ) | [static] |
Deletes dynamically allocated classes
Definition at line 20 of file STDPFunctions.cpp.
timestep_t STDPFunctions::getApplySTDPInterval | ( | unsigned | functionID | ) | [static] |
Returns the interval between applications of the STDP function.
Definition at line 29 of file STDPFunctions.cpp.
QHash< QString, double > STDPFunctions::getDefaultParameters | ( | unsigned | functionID | ) | [static] |
Returns the default parameters associated with a particular STDP function
Definition at line 52 of file STDPFunctions.cpp.
QString STDPFunctions::getFunctionDescription | ( | unsigned | functionID | ) | [static] |
Returns a description of the function with the specified ID. Throws a SpikeStreamException if the ID is not recognized.
Definition at line 69 of file STDPFunctions.cpp.
QList< unsigned > STDPFunctions::getFunctionIDs | ( | ) | [static] |
Returns a list of the IDs of the currently available functions.
Definition at line 79 of file STDPFunctions.cpp.
float STDPFunctions::getMaxExcitatoryWeight | ( | unsigned | functionID | ) | [static] |
Returns the maximum excitatory weight for the specified function. Throws an exception if the function ID is not recognized. Builds the maps of weights if this has not been done already.
Definition at line 140 of file STDPFunctions.cpp.
float STDPFunctions::getMaxInhibitoryWeight | ( | unsigned | functionID | ) | [static] |
Returns the maximum inhibitory weight for the specified function. Throws an exception if the function ID is not recognized. Builds the maps of weights if this has not been done already.
Definition at line 160 of file STDPFunctions.cpp.
float STDPFunctions::getMinExcitatoryWeight | ( | unsigned | functionID | ) | [static] |
Returns the minimum excitatory weight for the specified function. Throws an exception if the function ID is not recognized. Builds the maps of weights if this has not been done already.
Definition at line 130 of file STDPFunctions.cpp.
float STDPFunctions::getMinInhibitoryWeight | ( | unsigned | functionID | ) | [static] |
Returns the minimum inhibitory weight for the specified function. Throws an exception if the function ID is not recognized. Builds the maps of weights if this has not been done already.
Definition at line 150 of file STDPFunctions.cpp.
QList< ParameterInfo > STDPFunctions::getParameterInfoList | ( | unsigned | functionID | ) | [static] |
Returns information about the parameters associated with a particular STDP function
Definition at line 60 of file STDPFunctions.cpp.
QHash< QString, double > STDPFunctions::getParameters | ( | unsigned | functionID | ) | [static] |
Returns the parameters associated with a particular STDP function.
Definition at line 36 of file STDPFunctions.cpp.
float * STDPFunctions::getPostArray | ( | unsigned | functionID | ) | [static] |
Returns the post array for the specified function. Throws an exception if the function ID is not recognized. Builds the function arrays if this has not been done already.
Definition at line 110 of file STDPFunctions.cpp.
int STDPFunctions::getPostLength | ( | unsigned | functionID | ) | [static] |
Returns the length of the post array for the specified function. Throws an exception if the function ID is not recognized. Builds the function arrays if this has not been done already.
Definition at line 120 of file STDPFunctions.cpp.
float * STDPFunctions::getPreArray | ( | unsigned | functionID | ) | [static] |
Returns the pre array for the specified function. Throws an exception if the function ID is not recognized. Builds the function arrays if this has not been done already.
Definition at line 90 of file STDPFunctions.cpp.
int STDPFunctions::getPreLength | ( | unsigned | functionID | ) | [static] |
Returns the length of the pre array for the specified function. Throws an exception if the function ID is not recognized. Builds the function arrays if this has not been done already.
Definition at line 100 of file STDPFunctions.cpp.
float STDPFunctions::getReward | ( | unsigned | functionID | ) | [static] |
Returns the reward associated with the application of STDP learning.
Definition at line 168 of file STDPFunctions.cpp.
void STDPFunctions::print | ( | unsigned | functionID | ) | [static] |
Prints out the specified function
Definition at line 176 of file STDPFunctions.cpp.
void STDPFunctions::setParameters | ( | unsigned | functionID, |
QHash< QString, double > & | newParameterMap | ||
) | [static] |
Sets the parameters associated with a particular STDP function
Definition at line 44 of file STDPFunctions.cpp.