43 Neuron *LoadNeuron(CStdXml &oXml);
44 void LoadNetworkXml(CStdXml &oXml);
58 virtual std::string ModuleName();
60 virtual void Kill(
bool bState =
true);
61 virtual void Initialize();
62 virtual void ResetSimulation();
63 virtual void StepSimulation();
64 virtual void Load(CStdXml &oXml);
66 #pragma region DataAccesMethods
67 virtual bool SetData(
const std::string &strDataType,
const std::string &strValue,
bool bThrowError =
true);
68 virtual void QueryProperties(CStdPtrArray<TypeProperty> &aryProperties);
69 virtual bool AddItem(
const std::string &strItemType,
const std::string &strXml,
bool bThrowError =
true,
bool bDoNotInit =
false);
70 virtual bool RemoveItem(
const std::string &strItemType,
const std::string &strID,
bool bThrowError =
true);
73 virtual void AddNeuron(std::string strXml,
bool bDoNotInit =
false);
74 virtual void RemoveNeuron(std::string strID,
bool bThrowError =
true);
75 virtual int FindNeuronListPos(std::string strID,
bool bThrowError =
true);
78 void ActiveArray(
bool bVal);
80 void InactiveArray(
bool bVal);
82 #pragma region SnapshotMethods
83 virtual long CalculateSnapshotByteSize();
84 virtual void SaveKeyFrameSnapshot(byte *aryBytes,
long &lIndex);
85 virtual void LoadKeyFrameSnapshot(byte *aryBytes,
long &lIndex);
Firing rate neural module.
CStdIPoint m_oNetworkSize
Size of the neural network.
CStdPtrArray< Neuron > m_aryNeurons
The array of neurons in this module.
Contains the classes for a firing rate neural model.