50 virtual float CalculateFiringRate();
51 virtual void LoadCellsToStim(CStdXml &oXml);
52 virtual void ApplyRateChange();
60 virtual std::string TargetNodeID();
61 virtual void TargetNodeID(std::string strID);
63 virtual std::string Equation();
64 virtual void Equation(std::string strEquation);
66 virtual float ConstantRate();
67 virtual void ConstantRate(
float fltVal);
69 virtual float ActiveRate();
70 virtual float PrevAppliedRate();
72 virtual bool RateChanged();
74 virtual void Coverage(std::string strType);
76 virtual bool StimWholePopulation();
77 virtual void StimWholePopulation(
bool bVal);
79 virtual void CellsToStim(std::string strXml);
81 virtual void Load(CStdXml &oXml);
84 virtual void Initialize();
85 virtual void ResetSimulation();
86 virtual void Activate();
87 virtual void StepSimulation();
88 virtual void Deactivate();
90 virtual float *GetDataPointer(
const std::string &strDataType);
91 virtual bool SetData(
const std::string &strDataType,
const std::string &strValue,
bool bThrowError =
true);
92 virtual void QueryProperties(CStdPtrArray<TypeProperty> &aryProperties);
Contains the classes for a firing rate neural model.
bool m_bStimWholePopulation
Tells whether this stimulus is applied to the entire population or just individual cells...
CStdPostFixEval * m_lpEval
Pointer to the post-fix equation evaluator.
std::string m_strTargetNodeID
GUID ID of the neuron we are stimulating.
float m_fltActiveRate
The currently active firing rate.
Current stimulus for neural items.
float m_fltConstantRate
The value to use for active rate if the type is constant.
float m_fltPrevAppliedRate
The previous active firing rate.
std::string m_strEquation
The post-fix string current equation.
CsSpikeGeneratorGroup * m_lpSpikeGen
The spike generator this object is stimulating.
CStdMap< int, int > m_aryCellsToStim
An array of neuron indices for individual neurons we want to stimulate.
Firing Rate Neuron model.