Research Article
Mutation Strategy Based on Step Size and Survival Rate for Evolutionary Programming
| (1) | T/∗Set constant ∗/ | | (2) | S_RATE/∗Set constant ∗/ | | (3) | Update both popStepSize[1…POPNO] and popStepSizeRaw[1…POPNO] after tournament selection; | | (4) | = popStepSizeRaw[1…POPNO]; | | (5) | for i: POPNO do | | (6) | if pop[i] is offspring then | | (7) | totalPopStepSize + = popStepSize[i]; | | (8) | survivedOffspringNo ++; | | (9) | end if | | (10) | end for | | (11) | = totalPopStepSize/survivedOffspringNo;/∗Renew ∗/ | | (12) | = survivedOffspringNo/POPNO;/∗Renew survival rate∗/ | | (13) | = mean();/∗Renew ∗/ | | (14) | ifthen | | (15) | ;/∗Set mutation type C∗/ | | (16) | else ifthen | | (17) | ;/∗Set mutation type ∗/ | | (18) | ;/∗Renew for ∗/ | | (19) | else | | (20) | ;/∗Set mutation type ∗/ | | (21) | ;/∗Set 1 for ∗/ | | (22) | end if |
|