Research Article

A Parallel Framework for Multipoint Spiral Search in ab Initio Protein Structure Prediction

Algorithm 3

evaluate(AA).
(1) for (   to   seqLength − 1) do
(2)  for (   to   seqLength − 1) do
(3)    if   AAType[ ] = AAType[ ] = H then
(4)       nodeI     AA[ ]
(5)       nodeJ     AA[ ]
(6)       sqrD     getSqrDist(nodeI, nodeJ)
(7)       if   sqrD = 2 then
(8)         fitness     fitness – 1
(9) return fitness