Ejemplo n.º 1
0
 public void Connect(TOutputNeuralLayer OutputLayer)
 {
   int num1 = 0;
   if (this.IsThreshold)
     num1 = 1;
   int num2 = Math.Min(this.GetNNeuron() - num1, OutputLayer.GetNNeuron());
   for (int i = num1; i < num2; ++i)
     this.GetNeuron(i).Connect(OutputLayer.GetNeuron(i));
 }
Ejemplo n.º 2
0
        public void Connect(TOutputNeuralLayer OutputLayer)
        {
            int num1 = 0;

            if (this.IsThreshold)
            {
                num1 = 1;
            }
            int num2 = Math.Min(this.GetNNeuron() - num1, OutputLayer.GetNNeuron());

            for (int i = num1; i < num2; ++i)
            {
                this.GetNeuron(i).Connect(OutputLayer.GetNeuron(i));
            }
        }