loading…
A4.3.7 HL · evolutionary computing
A genetic algorithm searches for a solution using a population of candidates. Here, fitness counts letters that match your target. Selection favours fitter parents, crossover combines their text and mutation makes random changes. Type a target and watch the population change over generations.
best so far
SEVBOOIOHLE
Matching letters show in green. The two fittest candidates are kept unchanged, so the best fitness cannot fall. Selection favours fitter parents. Crossover combines parts of their text, then mutation changes some letters at random.
population (top 12 of 160)