Skip to content

YChuan1115/GA

 
 

Repository files navigation

GAlib: A C++ Genetic Algorithm Library
Copyright (c) 1994-1996 MIT, 1996-2005 Matthew Wall

GAlib is a C++ library of genetic algorithm objects.  With GAlib you can add 
evolutionary algorithm optimization to almost any program using any data 
representation and standard or custom selection, crossover, mutation, 
scaling, and termination methods.  

The library requires reasonable C++ compiler.  I have tested GAlib on MacOS
using Metrowerks and Symantec development environments, MacOSX using gcc2/3,
DOS/Windows using Borland C++ and MS VC++, and various UNIX platforms using 
g++, egcs, CC, DCC, xlC, and aCC.

Graphic examples (XWindows/Motif and MS Windows) are available, as are 
parallel, distributed implementations using PVM.  There are about 30 examples
that illustrate various ways to use GAlib on a variety of problems.

WHERE TO GET IT ---------------------------------------------------------------

   http://lancet.mit.edu/ga
    ftp://lancet.mit.edu/pub/ga/

COMPILATION -------------------------------------------------------------------

There are two things to build: the library and the examples.  Here is the
short version of how to build and test everything:

On unix,

   % make test

On windows, with MS VC++,

   > nmake /f makefile.vcpp test

On windows, with Borland,

   > make -f makefile.bcc test

If that does not work, then here are the files you might have to modify:

  - ga/gaconfig.h  - this contains the macros that control library options
  - makevars       - compiler and linker options for each compilier/os
  - makefile       - the actual build rules for putting everything together

If you still have problems, look at Installation.html in the doc directory.

DOCUMENTATION and MAILING LIST ------------------------------------------------

Complete documentation in html format is available in the doc directory.  The 
distribution site contains PDF and PostScript(tm) versions.

A current list of bugs is at http://lancet.mit.edu/ga/Bugs.html

There are two GAlib mailing lists:  [email protected] and [email protected]
The first list is an unmoderated list intended as a forum for galib users to
help each other.  The second is only for announcements about GAlib updates.
To subscribe, send email to [email protected] (or galib-announce-request)
with the word 'subscribe' as the subject and nothing in the body of the email.
To unsubscribe, send email with the word 'unsubscribe' as the subject.

About

A C++ Library of Genetic Algorithm Components

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 68.5%
  • C++ 29.6%
  • Makefile 1.9%