public Connection(Neuron N, double W) { this.N = N; Weight = W; }
public void AddInputs(Neuron N) { Inputs.Add(new Connection(N, 1.0)); }
public void AddInputs(Neuron N, double W) { Inputs.Add(new Connection(N, W)); }
public void AddNeuron(Neuron N) { Neurons.Add(N); }