Skip to main content

Table 2 Pseudo-code for Elite Set Methods.

From: The road not taken: retreat and diverge in local search for simplified protein structure prediction

Procedure updateEliteSet()

Procedure selectFromEliteSet()

1

sb ← set of second best candidates

1

while eliteSet.notEmpty() do

2

while sb.notEmpty() do

2

   celiteSet.getTopElement()

3

   m ← sb.getNextCandidate()

3

   e ← getNonIsoEncoding(c)

4

   c ← getConformation(m)

4

   b ← getPacked(e)

5

   e ← getNonIsoEncoding(c)

5

   if match(b, proximity) == false then

6

   b ← getPacked(e)

6

elitSet.release()

7

   if match(b, proximity) == false then

7

return c

8

eliteSet.push(c)

8

   end

9

   end

9

   eliteSet.popElement()

10

end

10

end