Mutation thumb|Animation of creating genetic programing child by mutating parent removing subtree and replacing with random code There are many types of mutation in genetic programming. They start from a fit syntactically correct parent and aim to randomly create a syntactically correct child. In the animation a subtree is randomly chosen (highlighted by yellow). It is removed and replaced by a randomly generated subtree.
Mutation thumb|Animation of creating genetic programing child by mutating parent removing subtree and replacing with random code There are many types of mutation in genetic programming They start from a fit syntactically correct parent and aim to randomly create a syntactically correct child In the animation a subtree is randomly chosen (highlighted by yellow) It is removed and replaced by a randomly generated subtree