public double combinaison()
{
double val = 0;
for (int i = 0; i < inputs.Count; i++)
{//the first one is the bias with an input of 1
val = val + inputs[i].weight * inputs[i].input;
}
return val;
}
Neuron::combinaison ( List inputs ) : double |