public void Run()
{
for (int toNeuron = 0; toNeuron < NeuronCount; toNeuron++)
{
double sum = 0;
for (int fromNeuron = 0; fromNeuron < NeuronCount; fromNeuron++)
{
sum += CurrentState[fromNeuron]
*GetWeight(fromNeuron, toNeuron);
}
CurrentState[toNeuron] = sum;
}
}