Holds the property for each neuron. More...
#include <CINNIC/staticContourNeuronProp.H>
Public Member Functions | |
staticContourNeuronProp () | |
default constructor | |
~staticContourNeuronProp () | |
destructor | |
void | sCNP_setID (const INT ID) |
set the ID of this neuron | |
INT | sCNP_getID () const |
get this neurons ID | |
void | sCNP_setGroupMod (FLOAT *gmod) |
set a local copy of this neurons group modifer | |
FLOAT * | sCNP_getGroupMod () const |
get a local copy of this neurons group modifer | |
void | sCNP_insertStoreList (const unsigned char a, const unsigned char i, const unsigned char j, const bool polarity, const FLOAT storeVal) |
insert another neuron as active to this one | |
bool | sCNP_getOtherNeuronPol (unsigned int i) const |
get polarity to other neuron | |
FLOAT | sCNP_getWeightStoreVal (unsigned int i) const |
get the weight value to the other neuron | |
unsigned char | sCNP_getOtherNeuronAlpha (unsigned int i) const |
get coords to the other neuron | |
unsigned char | sCNP_getOtherNeuron_i (unsigned int i) const |
get coords to the other neuron | |
unsigned char | sCNP_getOtherNeuron_j (unsigned int i) const |
get coords to the other neuron | |
unsigned int | sCNP_getActiveNeuronCount () const |
get how many active neurons there are | |
Static Public Attributes | |
static const int | sCNP_vecSize = 32 |
the amount to resize any vector when resize is called |
Holds the property for each neuron.
this class is used to process and hold the membrane potential of each neuron. It keeps track of total potential as well as potential that is "up" or "down" that is, to simulate the effects of tranfering energy from neuron to another neuron it holds energy in either a positive or negative energy bank. Holds generally non-temporal neuron properties
Definition at line 57 of file staticContourNeuronProp.H.
staticContourNeuronProp< FLOAT, INT >::staticContourNeuronProp | ( | ) | [inline] |
default constructor
Definition at line 115 of file staticContourNeuronProp.H.
References staticContourNeuronProp< FLOAT, INT >::sCNP_vecSize.
staticContourNeuronProp< FLOAT, INT >::~staticContourNeuronProp | ( | ) | [inline] |
destructor
Definition at line 128 of file staticContourNeuronProp.H.
unsigned int staticContourNeuronProp< FLOAT, INT >::sCNP_getActiveNeuronCount | ( | ) | const [inline] |
get how many active neurons there are
Definition at line 222 of file staticContourNeuronProp.H.
FLOAT * staticContourNeuronProp< FLOAT, INT >::sCNP_getGroupMod | ( | ) | const [inline] |
get a local copy of this neurons group modifer
Definition at line 154 of file staticContourNeuronProp.H.
INT staticContourNeuronProp< FLOAT, INT >::sCNP_getID | ( | ) | const [inline] |
get this neurons ID
Definition at line 140 of file staticContourNeuronProp.H.
unsigned char staticContourNeuronProp< FLOAT, INT >::sCNP_getOtherNeuron_i | ( | unsigned int | i | ) | const [inline] |
get coords to the other neuron
Definition at line 209 of file staticContourNeuronProp.H.
unsigned char staticContourNeuronProp< FLOAT, INT >::sCNP_getOtherNeuron_j | ( | unsigned int | i | ) | const [inline] |
get coords to the other neuron
Definition at line 216 of file staticContourNeuronProp.H.
unsigned char staticContourNeuronProp< FLOAT, INT >::sCNP_getOtherNeuronAlpha | ( | unsigned int | i | ) | const [inline] |
get coords to the other neuron
Definition at line 202 of file staticContourNeuronProp.H.
bool staticContourNeuronProp< FLOAT, INT >::sCNP_getOtherNeuronPol | ( | unsigned int | i | ) | const [inline] |
get polarity to other neuron
Definition at line 188 of file staticContourNeuronProp.H.
FLOAT staticContourNeuronProp< FLOAT, INT >::sCNP_getWeightStoreVal | ( | unsigned int | i | ) | const [inline] |
get the weight value to the other neuron
Definition at line 195 of file staticContourNeuronProp.H.
void staticContourNeuronProp< FLOAT, INT >::sCNP_insertStoreList | ( | const unsigned char | a, | |
const unsigned char | i, | |||
const unsigned char | j, | |||
const bool | polarity, | |||
const FLOAT | storeVal | |||
) | [inline] |
insert another neuron as active to this one
Definition at line 161 of file staticContourNeuronProp.H.
References staticContourNeuronProp< FLOAT, INT >::sCNP_vecSize.
void staticContourNeuronProp< FLOAT, INT >::sCNP_setGroupMod | ( | FLOAT * | gmod | ) | [inline] |
set a local copy of this neurons group modifer
Definition at line 147 of file staticContourNeuronProp.H.
void staticContourNeuronProp< FLOAT, INT >::sCNP_setID | ( | const INT | ID | ) | [inline] |
set the ID of this neuron
Definition at line 133 of file staticContourNeuronProp.H.
const int staticContourNeuronProp< FLOAT, INT >::sCNP_vecSize = 32 [static] |
the amount to resize any vector when resize is called
Definition at line 79 of file staticContourNeuronProp.H.
Referenced by staticContourNeuronProp< FLOAT, INT >::sCNP_insertStoreList(), and staticContourNeuronProp< FLOAT, INT >::staticContourNeuronProp().