Research Article

Feature Selection and Classifier Parameters Estimation for EEG Signals Peak Detection Using Particle Swarm Optimization

Algorithm 2

Random Asynchronous PSO (RA-PSO).
(1) Initialization
(2) while  not stopping criteria  do
(3)      while  not meet times  do
(4)          Randomly choose th particle in a population
(5)        for  th particle in a population  do
(6)           calculate fitness function
(7)           update pbest and gbest
(8)           update the th particle’s velocity and
(9)           update the th particle’s position
(10)      end for
(11)   end while
(12)   end while