| 1 |
<html><head><title>GAlib: List of Features</title> |
| 2 |
|
| 3 |
<!-- by matthew wall all rights reserved --> |
| 4 |
<!-- Copyright (c) 1995-1996 Massachusetts Institute of Technology --> |
| 5 |
<!-- Copyright (c) 1996-1999 Matthew Wall --> |
| 6 |
|
| 7 |
</head> |
| 8 |
<body bgcolor="efefef" text="000000"> |
| 9 |
<strong>Feature List for <a href="GAlib.html">GAlib</a></strong><br> |
| 10 |
<i><small>version 2.4</small></i> |
| 11 |
<hr> |
| 12 |
|
| 13 |
<strong>General features</strong> |
| 14 |
<ul> |
| 15 |
<li>Many examples are included illustrating the use of various GAlib |
| 16 |
features, class derivations, parallelization, deterministic crowding, |
| 17 |
travelling salesman, DeJong, and Royal Road problems. |
| 18 |
<li>The library has been used on various DOS/Windows, Windows NT/95, MacOS, |
| 19 |
and UNIX configurations. GAlib compiles without warnings on most |
| 20 |
major compilers. |
| 21 |
<li>Templates are used in some genome classes, but GAlib can be used without |
| 22 |
templates if your compiler does not understand them. |
| 23 |
<li>Four random number generators are included with the library. You can |
| 24 |
select the one most appropriate for your system, or use your own. |
| 25 |
</ul> |
| 26 |
|
| 27 |
<strong>Algorithms, Parameters, and Statistics</strong> |
| 28 |
<ul> |
| 29 |
<li>GAlib can be used with PVM (parallel virtual machine) to evolve |
| 30 |
populations and/or individuals in parallel on multiple CPUs. |
| 31 |
<li>Genetic algorithm parameters can be configured from file, command-line, |
| 32 |
and/or code. |
| 33 |
<li>Overlapping (steady-state GA) and non-overlapping (simple GA) |
| 34 |
populations are supported. You can also specify the amount of overlap |
| 35 |
(% replacement). The distribution includes examples of other derived |
| 36 |
genetic algorithms such as a genetic algorithm with sub-populations and |
| 37 |
another that uses deterministic crowding. |
| 38 |
<li>New genetic algorithms can be quickly tested by deriving from the base |
| 39 |
genetic algorithm classes in the library. In many cases you need only |
| 40 |
overide one virtual function. |
| 41 |
<li>Built-in termination methods include convergence and |
| 42 |
number-of-generations. The termination method can be customized for |
| 43 |
any existing genetic algorithm class or for new classes you derive. |
| 44 |
<li>Speciation can be done with either DeJong-style crowding (using a |
| 45 |
replacement strategy) or Goldberg-style sharing (using fitness scaling). |
| 46 |
<li>Elitism is optional for non-overlapping genetic algorithms. |
| 47 |
<li>Built-in replacement strategies (for overlapping populations) include |
| 48 |
replace parent, replace random, replace worst. The replacement |
| 49 |
operator can be customized. |
| 50 |
<li>Built-in selection methods include rank, roulette wheel, tournament, |
| 51 |
stochastic remainder sampling, stochastic uniform sampling, and |
| 52 |
deterministic sampling. The selection operator can be customized. |
| 53 |
<li>"on-line" and "off-line" statistics are recorded as well as max, min, |
| 54 |
mean, standard deviation, and diversity. You can specify which |
| 55 |
statistics should be recorded and how often they should be flushed |
| 56 |
to file. |
| 57 |
</ul> |
| 58 |
|
| 59 |
<strong>Genomes and Operators</strong> |
| 60 |
<ul> |
| 61 |
<li>Chromosomes can be built from <i>any</i> C++ data type. You can use |
| 62 |
the types built-in to the library (bit-string, array, list, tree) or |
| 63 |
derive a chromosome based on your own objects. |
| 64 |
<li>Built-in chromosome types include real number arrays, list, tree, 1D, |
| 65 |
2D, and 3D arrays, 1D, 2D, and 3D binary string. The binary strings, |
| 66 |
strings, and arrays can be variable length. The lists and trees can |
| 67 |
contain any object in their nodes. The array can contain any object |
| 68 |
in each element. |
| 69 |
<li>All chromosome initialization, mutation, crossover, and comparison |
| 70 |
methods can be customized. |
| 71 |
<li>Built-in initialization operators include uniform random, |
| 72 |
order-based random, allele-based random, and initialize-to-zero. |
| 73 |
<li>Built-in mutation operators include random flip, random |
| 74 |
swap, Gaussian, destructive, swap subtree, swap node. |
| 75 |
<li>Built-in crossover operators include arithmetic, blend, partial match, |
| 76 |
ordered, cycle, single point, two point, even, odd, uniform, node- and |
| 77 |
subtree-single point. Edge recombination is included in the examples. |
| 78 |
<li>Dominance and Diploidy are not explicitly built in to the library, but |
| 79 |
any of the genome classes in the library can easily be extended to |
| 80 |
become diploid chromosomes. |
| 81 |
</ul> |
| 82 |
|
| 83 |
<strong>Objective function</strong> |
| 84 |
<ul> |
| 85 |
<li>Objective functions can be population- or individual-based. |
| 86 |
<li>If the built-in genomes adequately represent your problem, a |
| 87 |
user-specified objective function is the only problem-specific code |
| 88 |
that <i>must</i> be written. |
| 89 |
</ul> |
| 90 |
|
| 91 |
<hr> |
| 92 |
<small><i>Matthew Wall, 19 August 1996</i></small> |
| 93 |
|
| 94 |
</body></html> |