staticContourNeuronProp< FLOAT, INT > Class Template Reference

Holds the property for each neuron. More...

#include <CINNIC/staticContourNeuronProp.H>

Collaboration diagram for staticContourNeuronProp< FLOAT, INT >:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

template<class FLOAT, class INT>
class staticContourNeuronProp< FLOAT, INT >

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.


Constructor & Destructor Documentation

template<class FLOAT , class INT >
staticContourNeuronProp< FLOAT, INT >::staticContourNeuronProp (  )  [inline]

default constructor

Definition at line 115 of file staticContourNeuronProp.H.

References staticContourNeuronProp< FLOAT, INT >::sCNP_vecSize.

template<class FLOAT , class INT >
staticContourNeuronProp< FLOAT, INT >::~staticContourNeuronProp (  )  [inline]

destructor

Definition at line 128 of file staticContourNeuronProp.H.


Member Function Documentation

template<class FLOAT , class INT >
unsigned int staticContourNeuronProp< FLOAT, INT >::sCNP_getActiveNeuronCount (  )  const [inline]

get how many active neurons there are

Definition at line 222 of file staticContourNeuronProp.H.

template<class FLOAT , class INT >
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.

template<class FLOAT , class INT >
INT staticContourNeuronProp< FLOAT, INT >::sCNP_getID (  )  const [inline]

get this neurons ID

Definition at line 140 of file staticContourNeuronProp.H.

template<class FLOAT , class INT >
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.

template<class FLOAT , class INT >
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.

template<class FLOAT , class INT >
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.

template<class FLOAT , class INT >
bool staticContourNeuronProp< FLOAT, INT >::sCNP_getOtherNeuronPol ( unsigned int  i  )  const [inline]

get polarity to other neuron

Definition at line 188 of file staticContourNeuronProp.H.

template<class FLOAT , class INT >
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.

template<class FLOAT , class INT >
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.

template<class FLOAT , class INT >
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.

template<class FLOAT , class INT >
void staticContourNeuronProp< FLOAT, INT >::sCNP_setID ( const INT  ID  )  [inline]

set the ID of this neuron

Definition at line 133 of file staticContourNeuronProp.H.


Member Data Documentation

template<class FLOAT, class INT>
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().


The documentation for this class was generated from the following file:
Generated on Sun May 8 08:25:52 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3