(1)
(2) for (   to   ) do
(3)    for  (   to   ) do
(4)      AA[ ]
(5)      AA[ ]
(6)      getSqrDist( )
(7)     if     then
(8)       [ ][ ]
(9) return  
Algorithm 8: The pseudocode of evaluation procedure: evaluate( ).