Genetic programming (GP) is a specialization of evolutionary computation where each individual is a computer program. It is used to optimize a population of computer programs according to a fitness landscape determined by a program's ability to perform a given computational task.
Genetic programming (GP) is a type of evolutionary-algorithm where each individual in a population is a computer program. It is used to optimize a population of computer programs according to a fitness landscape determined by a program's ability to perform a given computational task.
Traditional genetic programming, originally popularized by John Koza, represents code as expression trees, but this topic also includes other systems in which code evolves.
See also: genetic-algorithm, which refers to evolution-inspired algorithms in which an abstract representation of the solution is being evolved, rather than code itself.