Introduction

ga is a linear (fixed-string) genetic algorithm library. It provides basic genetic operators, like single-point crossover and mutation. It supports loading/saving populations and individuals from/to XML files. It also provides a simple way to transport populations over TCP (both IPv4 and IPv6).

The genome of individuals are fixed-length bitstrings, with no other inherent encoding. Simple functions for extracting bitstrings and decoding them from Gray code are provided. Extracted bitstrings can be interpreted by the fitness functions however appropriate to the problem (e.g. as integers, floating-point numbers, ASCII, etc.)

ga is well-suited for multi-threaded evolution of sub-populations as well as distributed evolution of sub-populations on networked machines.

Documentation

The current documentation, generated by doxygen.

Download

The latest snapshot of ga.

You will need expat 1.95.6 or higher installed.


Copyright © 2003 Allan Saddi. All rights reserved.