Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 321e78efe8
Fetching contributors…

Cannot retrieve contributors at this time

90 lines (57 sloc) 2.902 kb
== Installation HOWTO
=== Prerequisites:
- <b>Ruby 1.9.x</b> from or
- <i>optional:</i> <b>Gnuplot</b> (for Gnuplot-exporter) from
- <i>optional:</i> <b>git</b> from (to build latest version from git repository)
- <i>optional:</i> gems (libraries) for development (install with "gem install <gem-name>" (as root)):
- shoulda and rake (Rakefile, Testsuite)
- flake, flog, roodi and rcov (code quality tools)
=== Download EvoSynth:
- download source package from
- or checkout with:
git clone git://
=== Run Testcases
To make sure everything is running, run the following command inside the evosynth directory:
rake test
=== Get the required testdata to run the examples (copy into the "testdata" directory):
- (graph colouring)
- (TSP)
- more testdata:
=== Run examples and benchmarks
- run all examples with
rake run_examples
or run single examples with:
ruby -Ilib examples/max_ones.rb
ruby -Ilib examples/partition.rb
- <b>Attention:</b> the exporter.rb example will only work if you've installed the gruff, gnuplot and rmagick gems!
- if you are interessted in the performance of the individual components of EvoSynth, run the benchmark task:
rake run_benchmarks
or run individual benchmarks with:
ruby -Ilib test/benchmark/decoder_benchmark.rb
ruby -Ilib test/benchmark/mutation_benchmark.rb
=== Setup Netbeans as IDE (
- download and install netbeans
- install Ruby plugin (Tools -> Plugins -> Available Plugins ...)
- create new project:
1. File -> New Project -> Ruby -> "Ruby Application with Existing Sources"
2. choose a name (for example "nb_evosynth")
3. choose a directory, this should be outside of the evosynth directory to keep the git repository clean
4. choose Ruby platform: Ruby 1.9.x
5. set source folder with "Source Folders -> Add folder" -> choose evosynth directory
- right click on new created project "Properties -> Run" -> add "-Ilib" to Ruby options
- test if everything is working:
1. open a example (examples folder in "Source Files")
2. run it with Shift + F6 (you might have to confirm a dialog)
=== Debian 5.0 (lenny)
Because Debian is a bit special about ruby and rubygems here is what I did to get
it running on lenny:
- git is "git-core" ;-)
- install ruby1.9 ruby1.9dev and rubygems1.9 (with all their dependencies)
- gem install rake shoulda
=== Windows
In order to get Gnuplot working on windows, the "gnuplot" executeable should be
inside your PATH system-variable.
Jump to Line
Something went wrong with that request. Please try again.