#include <nkern_neuron.h>
Public Methods | |
Neuron (int NumInputs) | |
Public Attributes | |
int | m_NumInputs |
vector< float > | m_vecWeight |
|
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 } |
|
Definition at line 46 of file nkern_neuron.h. |
|
Definition at line 47 of file nkern_neuron.h. Referenced by Neuron. |