Skip to content

svdm/ClojureGP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ClojureGP

ClojureGP is a genetic programming framework written in Clojure. It aims to be highly configurable and versatile while still being concise and easy to learn.

Usage

Please refer to the included documentation and examples in the ./doc/ and ./examples/ directories. The docs are also available at http://svdm.github.com/ClojureGP.

To see a basic genetic programming run in action, load one of the example experiments as follows, using a terminal/command prompt at the repository root:

$ java -cp ./examples/;./src/;./lib/* clojure.main -i examples/reg_exp.clj --repl

Then call the run function from the Clojure REPL:

Clojure 1.3.0
user=> (reg-exp/run)

This same example experiment is discussed in ./doc/reg_example.html.

NOTE: On Linux versions of the JVM, replace the ; in the classpath with : (so semicolons to colons).

Dependencies

ClojureGP only requires Clojure 1.3.0. For additional features such as plotting and improved random number generation, the QN Plot library and Uncommons Maths library are needed.

Both Clojure and Uncommons Maths can be pulled in using Leiningen, via lein deps.

QN Plot will have to be manually downloaded if you want to use the graphing features. It can be found at the following locations:

License

Copyright (c) Stefan A. van der Meer. All rights reserved. The use and distribution terms for this software are covered by the Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) which can be found in the file epl-v10.html at the root of this distribution. By using this software in any fashion, you are agreeing to be bound by the terms of this license. You must not remove this notice, or any other, from this software.

About

ClojureGP is a genetic programming framework written in Clojure.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published