Title :
On the use of a directed acyclic graph to represent a population of computer programs
Author_Institution :
Dept. of Comput. Sci., Stanford Univ., CA, USA
Abstract :
This paper demonstrates a technique that reduces the time and space requirements of genetic programming. The population of parse trees is stored as a directed acyclic graph (DAG), rather than as a forest of trees. This saves space by not duplicating structurally identical subtrees. Also, the value computed by each subtree for each fitness case is cached, which saves computation both by not recomputing subtrees that appear more than once in a generation and by not recomputing subtrees that are copied from one generation to the next. I have implemented this technique for a number of problems and have seen a 15- to 28-fold reduction in the number of nodes extant per generation and an 11- to 30-fold reduction in the number of nodes evaluated per run (for populations of size 500)
Keywords :
directed graphs; genetic algorithms; tree data structures; computer programs; directed acyclic graph; fitness case; genetic programming; parse trees; population; Computer science; Encoding; Genetic programming; Machine learning; Tree graphs;
Conference_Titel :
Evolutionary Computation, 1994. IEEE World Congress on Computational Intelligence., Proceedings of the First IEEE Conference on
Conference_Location :
Orlando, FL
Print_ISBN :
0-7803-1899-4
DOI :
10.1109/ICEC.1994.350024