Research Article

A Novel Artificial Bee Colony Algorithm Based on Internal-Feedback Strategy for Image Template Matching

Algorithm 1

(1) Set population size , and maximum cycle number . Set inefficient trial
  time counter .
(2) Randomly initialize locations of scout bees using (2)
(3) For   to , do % Employed bee phase
(4) For to , do
(5)  Generate for the employed bee to search according to (3)
(6)  If better position is found, then % Implementation of greedy selection
(7)   Update and set
(8)  Else
(9)   
(10)End if
(11)End for
(12)   For   to , do % Onlooker bee phase
(13)Choose employed bee to follow, and then generate local search location using (5) and (6)
(14)If better position is found, then % Implementation of greedy selection
(15)  Update and set
(16)Else
(17)  
(18)End if
(19)End for
(20)Collect all satisfying in an index set
(21) While , do
(22)Choose one
(23)Re-initialize location of the th employed bee using (2)
(24)Eliminate the index from
(25)Set
(26)End while
(27)Memorize best-ever solution in the current cycle of iteration
(28) End for
(29) Output best-ever solution