public
Description: Genetic programming library in Lisp!
Homepage:
Clone URL: git://github.com/jakevoytko/genesis.git
README.txt
README.TXT


                         *** Introduction ***

Genesis is a Lisp genetic programming library currently in the
prototype stage. You can currently use the (genetic-algorithm) call in
order to run a genetic algorithm. A sample call is as follows:

    (genetic-algorithm 1000 nil #'sample-rule-fun
                       #'sample-fitness-function
                       :population-size 5)


The prototype for the function is as follows:

    (genetic-algorithm (generations starting-rules rule-fun
                        fitness-fun &key (population-size 10))


If you would only like to see an example of this in action, load the
file "square-root-sample.lisp" and run the function
(square-root-sample generations population-size).

To call the function in your population with the best results so far,
use the (funcall-best) function:

> (funcall-best genesis:*CURRENT-POPULATION* #'sample-fitness-fun 16)
 4.abillion

 

A homepage with a tutorial is going to be set up soon at jakevoytko.com!


Copyright (c) 2008 Jake Voytko

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.