/// <summary> /// Gets the pos'th instance of a hidden neuron of this output neuron. /// </summary> /// <param name="pos">The hidden neuron number. Starts at 0.</param> /// <returns>The pos'th instance of a hidden neuron of this output neuron.</returns> public HiddenNeuronFFNN GetHiddenNeuron(int pos) { HiddenNeuronFFNN i = null; if (pos < this.hiddenNeurons.Count) { i = this.hiddenNeurons.ElementAt(pos); } return(i); }
/// <summary> /// Adds an instance of a hidden neuron as one of the inputs to this output neuron. /// </summary> /// <param name="hNeuron">Hidden neuron.</param> public void AddHiddenNeuron(HiddenNeuronFFNN hNeuron) { this.hiddenNeurons.Add(hNeuron); }