| Algorithm 2: HEOA based on Cauchy Mutation. | |
| Input: | |
| Operation | |
| /* Human exploration step */ | |
| 1. | Get the current position by Equation (24) |
| 2. | Return |
| /* Human development step */ | |
| 6. | /*Leader*/: Get the current position by Equation (26) |
| 7. | /*Explorer*/: Get the current position by Equation (27) |
| 8. | /*Follower*/: Get the current position by Equation (28) |
| 9. | /*Loser*/: Get the current position by Equation (29) |
| /* search the global optimum based on Cauchy mutation step */ | |
| 10. while
11. Implement Human exploration step, Obtain 12. Implement Human development step, Obtain 13. 14. Retrieve the fitness of best position 15. Return , | |
| /* Operation Ending */ | |
| Output: , | |