1) BEGIN

2) Step 1: INITIALISE population with random candidate solutions;

3) Step 2: EVALUATE each candidate;

4) REPEAT UNTIL (TERMINATION CONDITION is satisfied) DO

5) Step 3: SELECT parents;

6) Step 4: RECOMBINE pears of parents;

7) Step 5: MUTATE the resulting offspring;

8) Step 6: EVALUATE new candidates;

9) DONE

10) END