Main Page   Alphabetical List   Compound List   File List   Compound Members   File Members  

Neuron Struct Reference

#include <nkern_neuron.h>

List of all members.

Public Methods

 Neuron (int NumInputs)

Public Attributes

int m_NumInputs
vector< float > m_vecWeight


Constructor & Destructor Documentation

Neuron::Neuron int    NumInputs
 

Definition at line 25 of file neuron.cpp.

References m_vecWeight.

00025                            : m_NumInputs(NumInputs+1){
00026 
00027     //we need an additional weight for the bias hence the +1
00028     for (int i=0; i<NumInputs+1; i++){
00029         m_vecWeight.push_back(RANDOM_CLAMP);
00030     }
00031 }


Member Data Documentation

int Neuron::m_NumInputs
 

Definition at line 46 of file nkern_neuron.h.

vector<float> Neuron::m_vecWeight
 

Definition at line 47 of file nkern_neuron.h.

Referenced by Neuron.


The documentation for this struct was generated from the following files:
Generated on Mon Jun 23 23:09:59 2003 for NeReK Documentation by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002