Esempio n. 1
0
        private double Sum()
        {
            double computeValue = 0.0f;

            Dendrites.ToList().ForEach(x => computeValue += x.InputPulse.Value * x.SynapticWeight);

            return(computeValue);
        }
Esempio n. 2
0
 public void UpdateWeights(double new_weights)
 {
     Dendrites.ToList().ForEach(x => x.SynapticWeight = new_weights);
 }