Encog.Neural.Networks.BasicNetwork.AddWeight C# (CSharp) Метод

AddWeight() публичный Метод

Add to a weight.
public AddWeight ( int fromLayer, int fromNeuron, int toNeuron, double v ) : void
fromLayer int The from layer.
fromNeuron int The from neuron.
toNeuron int The to neuron.
v double The value to add.
Результат void
        public void AddWeight(int fromLayer, int fromNeuron,
                              int toNeuron, double v)
        {
            double old = GetWeight(fromLayer, fromNeuron, toNeuron);
            SetWeight(fromLayer, fromNeuron, toNeuron, old + v);
        }