#include <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, and RANDOM_CLAMP.
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 40 of file neuron.h. Referenced by Neuron. |