This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
genesis /
| name | age | message | |
|---|---|---|---|
| |
README.txt | Thu Dec 18 20:04:03 -0800 2008 | |
| |
genesis.asd | Fri Jan 02 20:49:04 -0800 2009 | |
| |
genesis.lisp | ||
| |
package.lisp | ||
| |
square-root-sample.lisp | ||
| |
test/ | ||
| |
todo.org | ||
| |
utility.lisp | Fri Jan 02 20:49:04 -0800 2009 |
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.








