Research Article

Using Competitive Binary Particle Swarm Optimization Algorithm for Matching Sensor Ontologies

Algorithm 1

Initialization.
(1)if ( is not given)
(2)  set all ‘s elements as zero;
(3)end if
(4)for int to
(5)   randomly select two elements from ;
(6)  if
(7)     ;
(8)     ;
(9)  else
(10)    ;
(11)    ;
(12)  end if
(13)end for
(14)return