AnimatLab  2
Test
CsSynapseOneToOne.cpp
1 
7 #include "StdAfx.h"
8 
9 #include "CsSynapseGroup.h"
10 #include "CsNeuronGroup.h"
11 #include "CsNeuralModule.h"
12 #include "CsSynapseOneToOne.h"
13 
14 namespace AnimatCarlSim
15 {
16 
24 {
25 }
26 
34 {
35 
36 try
37 {
38 }
39 catch(...)
40 {Std_TraceMsg(0, "Caught Error in desctructor of CsSynapseOneToOne\r\n", "", -1, false, true);}
41 }
42 
43 void CsSynapseOneToOne::SetCARLSimulation()
44 {
45  if(m_bEnabled && m_lpCsModule && m_lpCsModule->SNN() && m_lpFromNeuron && m_lpToNeuron && m_lpFromNeuron->GroupID() >= 0 && m_lpToNeuron->GroupID() >= 0)
46  {
48  }
49 }
50 
51 
52 } //AnimatCarlSim
53 
54 
55 
56 
57 
58 
Contains the classes for a firing rate neural model.
Definition: CsAdapter.cpp:14
bool m_bPlastic
connection type, either SYN_FIXED or SYN_PLASTIC
CsSynapseOneToOne()
Default constructor.
float m_fltInitWt
initial weight strength (arbitrary units); should be negative for inhibitory connections ...
int connect(int gIDpre, int gIDpost, const string &_type, float initWt, float maxWt, float _C, uint8_t minDelay, uint8_t maxDelay, bool synWtType=SYN_FIXED, const string &wtType=" ")
make from each neuron in grpId1 to 'numPostSynapses' neurons in grpId2
Definition: snn_cpu.cpp:1600
Declares the CsNeuronGroup class.
CsNeuronGroup * m_lpFromNeuron
The pointer to pre-synaptic neuron.
unsigned char m_iMinDelay
the minimum delay allowed (ms)
virtual ~CsSynapseOneToOne()
Destructor.
int m_iSynapsesCreated
The total number of synapses created.
Declares the synapse class.
void Std_TraceMsg(const int iLevel, std::string strMessage, std::string strSourceFile, int iSourceLine, bool bLogToFile, bool bPrintHeader)
Traces a message to the debugger window.
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 ...
bool m_bEnabled
Tells if this item is enabled or not. If it is not enabled then it is not run.
Definition: AnimatBase.h:40
unsigned char m_iMaxDelay
the maximum delay allowed (ms)
CsNeuralModule * m_lpCsModule
Pointer to parent CsNeuralModule.
float m_fltPconnect
connection probability