The Scientific World Journal / 2014 / Article / Alg 4

Research Article

Towards the Novel Reasoning among Particles in PSO by the Use of RDF and SPARQL

Algorithm 4

The proposed RDF-PSO algorithm.
Input: PSO population of particles for .
Output: The best solution and its corresponding value .
(1) init_particles;
(2) ;
(3)while termination_condition_not_meet do
(4)for   to   do
(5)   = evaluate_the_new_solution( );
(6)   ;
(7)  if     then
(8)    ; // save the global best solution
(9)   end if
(10)    is_neighbor_of ;
(11)    = generate_new_solution( );
(12)  end for
(13)  end while

Article of the Year Award: Outstanding research contributions of 2020, as selected by our Chief Editors. Read the winning articles.