/// <summary> /// Connect this Neuron to each of the Neurons in the next layer. /// </summary> internal void Connect() { NeuralLayer NextNeuralLayer = ParentNeuralLayer.GetNextNeuralLayer(); if (NextNeuralLayer != default(NeuralLayer)) { foreach (var NeuronToConnect in NextNeuralLayer.NeuronsInLayer) { OutputConnections.Add(new Dendrite(this, NeuronToConnect)); } } }
/// <summary> /// Add the given Dendrite to the list of output connections. /// </summary> /// <param name="Connection"></param> internal void AddOutputConnection(Dendrite Connection) { OutputConnections.Add(Connection); }