//We can connect the two Neurons public void connect(Neuron10_4 a, Neuron10_4 b, float w) { Connection10_4 c = new Connection10_4(a, b, w); a.addConnection(c); //Also add the connection connections.Add(c); }
//Add a connection public void addConnection(Connection10_4 c) { connections.Add(c); }