~/ learn/ comp-456/ cards/ Genetic algorithms
1 of 5

Genetic programming: read this Lisp s-expression tree as one crossover subtree.

Genetic programming: read this Lisp s-expression tree as one crossover subtree.

Answer

(* 4 6)

In genetic programming a program is a Lisp tree; (* 4 6) is a subtree (apply * to 4 and 6 = 24). Crossover swaps such subtrees between two parent programs, always producing a valid program when the function/terminal sets satisfy closure.

space flip · ← → navigate · esc to exit
NORMAL ~/memra/library/ad14c159-0e58-49be-ae01-e7920b38430a/flashcard utf-8 LF