Exemplo n.º 1
0
 public NeuronaEntrada(double[] valoresDeEntrada)
 {
     dendritas = new DendritaEntrada[valoresDeEntrada.Length];
     for (int i = 0; i < valoresDeEntrada.Length; i++)
     {
         dendritas[i] = new DendritaEntrada(this, valoresDeEntrada[i]);
     }
     axon = new Axon(this);
     bia  = new Bia(this);
 }
Exemplo n.º 2
0
 public Neurona(NeuronaAbstracta[] neuronas)
 {
     dendritas = new Dendrita[neuronas.Length];
     for (int i = 0; i < neuronas.Length; i++)
     {
         dendritas[i] = new Dendrita(this, neuronas[i].axon);
     }
     axon = new Axon(this);
     bia  = new Bia(this);
 }
Exemplo n.º 3
0
 public NeuronaSalida(NeuronaAbstracta[] neuronas, double salidaDeseada)
 {
     this.salidaDeseada = salidaDeseada;
     dendritas          = new DendritaSalida[neuronas.Length];
     for (int i = 0; i < neuronas.Length; i++)
     {
         dendritas[i] = new DendritaSalida(this, neuronas[i].axon);
     }
     axon = new Axon(this);
     bia  = new Bia(this);
 }