What is genetic programming?
Genetic programming is a model of programming which uses the ideas of biological evolution to handle a complex problem.
Genetic programming is an extension of GA (Genetic Algorithm) - a model for testing and selecting the best choice among a set of results
What is the data structure used to represent a solution in Genetic Programming?
Solutions are represented as Tree Structures
What is the general mechanism used for recombining solutions in Genetic Programming?
Crossover is done by exchanging of subtrees
What is the general mechanism used for mutation in Genetic Programming?
Mutation is a random change in trees
What is the general mechanism used for parent selection in Genetic Programming?
Parent selection is fitness proportional (just like GA)
What is the general mechanism used for survivor selection in Genetic Programming?
Same as GA, the fittest will survive and replace the less fit
In GA (Genetic Algorithm):
How are these different in GP (Genetic Programming)? Tree Structures are used in GP to represent solutions
In GP:
- Trees may vary in depth and width
Give an outline of the step-by-step process for the Genetic Algorithm
What does the Genetic Programming flowchart look like?

The Tree-based representation of a solution in Genetic Programming is composed of two parts.
Describe them
How is mutation performed in Genetic Programming for the tree structures?
Take a random subtree in the structure and replace it by a randomly generated tree (randomly generated terms and functions)
In Genetic Programming, mutation has two parameters. What are they?
Can the size of the child in mutation be different to the size of the parent in mutation?
In Genetic Programming, a state can undergo ______ or ______, but not both in one ______
mutation
recombination/crossover
generation
How is Recombination performed in Genetic Programming for two tree structures (parents)?
Pick a subtree in parent 1, and another subtree in parent 2.
Exchange these two subtrees between the two parents (swap the subtrees) and you’ll have the two children
In Genetic Programming, the Recombination operator has two parameters. What are they?
Virtually all problems in artificial intelligence, machine learning, adaptive systems, and automated learning can be ______ as a ______ for a computer program
recasted
search
In computer programs, what are 4 ways to “reuse” code?
Give examples of what type of representations can be made using the tree structure