SpikeStream Nemo Plugin  0.2
spikestream::AbstractSTDPFunction Class Reference

#include <AbstractSTDPFunction.h>

Inheritance diagram for spikestream::AbstractSTDPFunction:
spikestream::StandardSTDPFunction spikestream::StepSTDPFunction

List of all members.

Public Member Functions

 AbstractSTDPFunction ()
virtual ~AbstractSTDPFunction ()
virtual timestep_t getApplySTDPInterval ()
virtual QHash< QString, double > getParameters ()
virtual void setParameters (QHash< QString, double > &newParameterMap)
virtual QHash< QString, double > getDefaultParameters ()
virtual QList< ParameterInfo > getParameterInfoList ()
virtual float * getPreArray ()=0
virtual int getPreLength ()=0
virtual float * getPostArray ()=0
virtual int getPostLength ()=0
virtual float getMinExcitatoryWeight ()=0
virtual float getMaxExcitatoryWeight ()=0
virtual float getMinInhibitoryWeight ()=0
virtual float getMaxInhibitoryWeight ()=0
virtual float getReward ()
virtual void print ()=0

Protected Member Functions

double getParameter (QString parameterName)

Protected Attributes

QList< ParameterInfo > parameterInfoList
QHash< QString, double > defaultParameterMap
QHash< QString, double > parameterMap
bool functionUpToDate

Detailed Description

Abstract interface for an STDP function

Definition at line 14 of file AbstractSTDPFunction.h.


Constructor & Destructor Documentation

Constructor

Definition at line 9 of file AbstractSTDPFunction.cpp.

Destructor

Definition at line 21 of file AbstractSTDPFunction.cpp.


Member Function Documentation

Returns the interval between applying STDP

Definition at line 30 of file AbstractSTDPFunction.cpp.

QHash< QString, double > AbstractSTDPFunction::getDefaultParameters ( ) [virtual]

Returns the default parameters for this STDP function

Definition at line 57 of file AbstractSTDPFunction.cpp.

double AbstractSTDPFunction::getParameter ( QString  parameterName) [protected]

Returns the current value of the specified parameter. Throws an exception if the parameter cannot be found

Definition at line 80 of file AbstractSTDPFunction.cpp.

QList< ParameterInfo > AbstractSTDPFunction::getParameterInfoList ( ) [virtual]

Returns information about the parameters for this STDP function.

Definition at line 63 of file AbstractSTDPFunction.cpp.

QHash< QString, double > AbstractSTDPFunction::getParameters ( ) [virtual]

Returns the parameters for this function.

Definition at line 36 of file AbstractSTDPFunction.cpp.

float AbstractSTDPFunction::getReward ( ) [virtual]

Returns reward parameter, which is common to all STDP functions.

Definition at line 69 of file AbstractSTDPFunction.cpp.

void AbstractSTDPFunction::setParameters ( QHash< QString, double > &  newParamMap) [virtual]

Sets the parameters for this function

Definition at line 42 of file AbstractSTDPFunction.cpp.


Member Data Documentation

QHash<QString, double> spikestream::AbstractSTDPFunction::defaultParameterMap [protected]

Map containing default values of the parameters

Definition at line 40 of file AbstractSTDPFunction.h.

Records if the function is up to date. This value is set to false when the parameters are changed

Definition at line 47 of file AbstractSTDPFunction.h.

QList<ParameterInfo> spikestream::AbstractSTDPFunction::parameterInfoList [protected]

List defining the parameters

Definition at line 37 of file AbstractSTDPFunction.h.

QHash<QString, double> spikestream::AbstractSTDPFunction::parameterMap [protected]

Map containing the current values of the parameters

Definition at line 43 of file AbstractSTDPFunction.h.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Defines