This online tutorial will explore the functions and uses of a genetic algorithms. A general genetic algorithm follows a method that is similar to the process of natural selection. There are three main processes in a genetic algorithm, usually labeled as reproduction, crossover, and mutation. Numerical values are determined for solutions or various data. They are then converted into binary values.
Higher values correspond to greater strength or superiority.
Thus, items with small values have a lesser chance of reaching optimal values. This is similar to natural selection, when organisms withinferior genes are less likely to survive than organisms with superior genes. Now, crossover takes place. In this process, a random position in binary numbers is selected. All digits after this place are swapped with corresponding digits from other items.