proc crossoverInDE( )
// and are the corresponding initial position index and terminal position
index of the parameters
;
// perform differential crossover operation
 for ( )
      if (rand(0,1) < CR or )
    ; //t means current functions evaluations
  else
    ;
  end if
 end for
 return ;
end_proc crossoverInDE
Pseudocode 2: Crossover operation pseudocode based on DE strategy.