This script implements base methods to apply genetic algorithms to arbitrary subjects. Its functions can be call instantiating a class object or called static methods. The script can perform several types of generic algorithm operations like crossover, mutation, selection and death over populations of any objects of the same class. It can be used as a base implementation of genetic ...
Binary GA uses 16 binary genes to implement parabolic landscape using randomly bit-flip mutation, 1 point crossover and bound. The current generation results can be displayed on the page or written to a file.Requirements: PHP 3.0 or higher