public void addConnection(Neuron prev, Neuron next, double w) { this.Connections.Add(new Connection(prev, next, w)); }