Algorithm.
. Search_Local_Minima_on_Energy_Surface.
| Input: |
| : energy surface where t and σ are threshold and gradient parameters, respectively |
| Output: |
| Types I and II optimum locations for threshold and gradient parameters |
| Begin: |
| for all values of the threshold parameter tdo |
| for all values of gradient parameter σdo |
| if is a valid pit |
| select as a type I optimum location for threshold and gradient parameters |
| ift is a valid valley point on |
| find the eight-connected path π of valid valley points containing |
| ifπ contains no valid pit or type I optimum location |
| select a type II optimum location on π |
| end |