|
Algorithm 3: The Real-Coded GA |
| 1: Create N random points in from the uniform distribution. |
| 2: Store the points in set S. |
| 3: . |
| 4: Evaluate each chromosome using its function value. |
| 5: If the termination criteria are achieved, stop the GA. |
| 6: Select parents from S. |
| 7: Create m offspring using the selected parent chromosomes of the previous step. |
| 8: Mutate the offspring with probability . |
| 9: Remove the m worst chromosomes and replace them with the offspring. |
| 10: Create a trial point . If where is the current worst point in S, then replace with . |
| 11: . |
| 12: Go to step 4. |