public void Connect(int id, Neuron neuron, float weight) { Connection C = new Connection(id, weight, this, neuron); connections.Add(C); }
public void connectOld(Neuron neuron, float weight) { connectionsOld.Add(neuron); weights.Add(weight); }
public void Connect(int id, Neuron neuron, float weight) { Connection C = new Connection(id, weight, this, neuron); connections.Add(C); }
public void connectOld(Neuron neuron, float weight) { connectionsOld.Add(neuron); weights.Add(weight); }