Sunday, August 26, 2018

Genetic Algorithm Steps

A genetic algorithm makes uses of techniques inspired from evolutionary biology such as
  • Selection(Reproduction),
  • Mutation, 
  • Inheritance 
  • Cross Over(recombination)  to solve a problem. 

The most commonly employed method in genetic algorithms 

  1.  create a group of individuals randomly from a given population.
  2. The formed individuals are evaluated with the help of the evaluation function provided by the programmer.
  3. Individuals are then provided with a score which indirectly highlights the fitness to the given situation. 
  4. The best two individuals are then used to create one or more offspring, after which random mutations are done on the offspring. 
  5. Depending on the needs of the application, the procedure continues until an acceptable solution is derived or until a certain number of generations have passed.


No comments:

Post a Comment