Research Article
Designing Artificial Neural Networks Using Particle Swarm Optimization Algorithms
Algorithm 2
Output of the ANN pseudocode.
| () for to do | | () Compute the output . | | () end for | | () for with to do | | () Get connections by using individual . | | () Get connections vector for neuron from . | | () Get synaptic weights for neuron from . | | () Get the bias for neuron from . | | () Get the transfer function index for neuron from . | | () Compute the output of neuron as . | | () end for | | () for to do | | () Compute the output with . | | () end for |
|