A C++ Genetic Algorithms Library

version 2.4

GAlib is a set of C++ genetic algorithm objects. The library includes tools for using genetic algorithms to do optimization in any C++ program.

This documentation includes an overview of the GAlib implementation and programming techniques, a class hierarchy of GAlib objects, the programming interface for using GAlib classes, instructions for deriving new classes and genetic operators, descriptions of the examples, a list of features, and a listing of other genetic algorithm sites.

If you have not already done so, please register.
If you are installing the library, see the installation instructions.
If you were using a previous version of the library, please see the changes page.
If you think you found a bug, please see the bug list.
If you have suggestions, please see the wish list.

For the most recent GAlib developments, please refer to the canonical source at

Copyright (c) Massachusetts Institute of Technology. All rights reserved. GAlib is free for non-profit use. For-profit use and/or distribution of GAlib requires a license from the MIT Technology Licensing Office. Funding for the development of this library came from the Leaders for Manufacturing Program.