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