Genetic programming: Difference between revisions

Content deleted Content added
improving the lead
No edit summary
Line 3:
{{Evolutionary algorithms}}
 
'''Genetic programming''' ('''GP''') is an [[evolutionary algorithm]], an artificial intelligence technique mimicking natural evolution, which operates on a population of programs. It applies the [[genetic operators]] [[selection (evolutionary algorithm)|selection]] according to a predefined [[fitness function|fitness measure]], [[mutation (evolutionary algorithm)|mutation]] and [[crossover (evolutionary algoroithmalgorithm)|crossercrossover]].
 
The crossover operation involves swapping specified parts of selected pairs (parents) to produce new and different offspring that become part of the new generation of programs. Some programs not selected for reproduction are copied from the current generation to the new generation. Mutation involves substitution of some random part of a program with some other random part of a program. Then the selection and other operations are recursively applied to the new generation of programs.