(1) false
(2) while (! ) do
(3)   for (   to   ) do
(4)     applyPullMove( )
(5)   checkDiversity()
Algorithm 6: The pseudocode of random-walk technique: randomWalk( ).