Parallel Genetic Algorithm Library (or PGAL for short) is a C toolkit for simply, efficiently, and swiftly producing genetic algorithm code that works across multiple processors.
This is useful not only for those with multi-processor computers, but also for distributed and cluster computing genetic algorithm environments such as openMosix.
Requirements:
· MySQL
· MySQL Development libraries
Installation:
Compile it using:
cd pgal/src
make depend
make
Then install with:
su
(Enter superuser's password)
make install
exit
Then set up your database by doing:
pgal_db_setup
Now answer the questions about your MySQL server and what name you'd like to give the database, user etc.
The script will now create a database and user for pgal to use (You'll need to know the MySQL root user's password.)
And you're ready to go!
Running an example
Compile the example called test by doing:
cd pgal/test
make depend
make
and run it with:
./pgalTest
Now you should be able to see several processes running in parallel (use top or mtop if you're using openMosix.)
Product's homepage