Esempio n. 1
0
 public override void addInputConnection(Connection connection)
 {
 }
Esempio n. 2
0
        /// <summary>
        /// Creates connection between two specified neurons
        /// </summary>
        /// <param name="fromNeuron">
        ///            neuron to connect (connection source) </param>
        /// <param name="toNeuron">
        ///            neuron to connect to (connection target) </param>
        /// <param name="weight">
        ///            connection weight </param>
        public static void createConnection(Neuron fromNeuron, Neuron toNeuron, Weight weight)
        {
            Connection connection = new Connection(fromNeuron, toNeuron, weight);

            toNeuron.addInputConnection(connection);
        }