AnimatLab  2
Test
CsSynapseGroup.h
Go to the documentation of this file.
1 
7 #pragma once
8 
9 namespace AnimatCarlSim
10 {
11 
22  class ANIMAT_CARL_SIM_PORT CsSynapseGroup : public AnimatSim::Link
23  {
24  protected:
27 
29  std::string m_strFromID;
30 
32  std::string m_strToID;
33 
36 
39 
41  float m_fltInitWt;
42 
44  float m_fltMaxWt;
45 
48 
50  unsigned char m_iMinDelay;
51 
53  unsigned char m_iMaxDelay;
54 
56  bool m_bPlastic;
57 
60 
61  public:
63  virtual ~CsSynapseGroup();
64 
65  CsNeuralModule *GetCsModule() {return m_lpCsModule;};
66 
75  CsNeuronGroup *FromNeuron() {return m_lpFromNeuron;};
76 
77  virtual void InitWt(float fltVal);
78  virtual float InitWt();
79 
80  virtual void MaxWt(float fltVal);
81  virtual float MaxWt();
82 
83  virtual void Pconnect(float fltVal);
84  virtual float Pconnect();
85 
86  virtual void MinDelay(unsigned char iVal);
87  virtual unsigned char MinDelay();
88 
89  virtual void MaxDelay(unsigned char iVal);
90  virtual unsigned char MaxDelay();
91 
92  virtual void Plastic(bool bVal);
93  virtual bool Plastic();
94 
95  virtual int SynapsesCreated();
96 
97  virtual std::string GeneratorKey();
98 
99  virtual void SetCARLSimulation();
100 
101 #pragma region DataAccesMethods
102  virtual bool SetData(const std::string &strDataType, const std::string &strValue, bool bThrowError = true);
103  virtual void QueryProperties(CStdPtrArray<TypeProperty> &aryProperties);
104 #pragma endregion
105 
106  virtual void SetSystemPointers(Simulator *lpSim, Structure *lpStructure, NeuralModule *lpModule, Node *lpNode, bool bVerify);
107  virtual void VerifySystemPointers();
108  virtual void Initialize();
109  virtual void Load(CStdXml &oXml);
110  };
111 
112 } //AnimatCarlSim
Contains the classes for a firing rate neural model.
Definition: CsAdapter.cpp:14
bool m_bPlastic
connection type, either SYN_FIXED or SYN_PLASTIC
float m_fltInitWt
initial weight strength (arbitrary units); should be negative for inhibitory connections ...
CsNeuronGroup * m_lpFromNeuron
The pointer to pre-synaptic neuron.
unsigned char m_iMinDelay
the minimum delay allowed (ms)
std::string m_strToID
GUID ID of the pre-synaptic neruon.
CsNeuronGroup * FromNeuron()
Gets the pre-synaptic neuron.
Firing rate synapse model.
std::string m_strFromID
GUID ID of the pre-synaptic neruon.
int m_iSynapsesCreated
The total number of synapses created.
Firing rate neural module.
Firing Rate Neuron model.
Definition: CsNeuronGroup.h:28
CsNeuronGroup * m_lpToNeuron
The pointer to post-synaptic neuron.
float m_fltMaxWt
upper bound on weight strength (arbitrary units); should be negative for inhibitory connections ...
unsigned char m_iMaxDelay
the maximum delay allowed (ms)
CsNeuralModule * m_lpCsModule
Pointer to parent CsNeuralModule.
float m_fltPconnect
connection probability