Analysis Implementation and Comparatives of a Traditional Genetic Algorithm, the Hybrid-Taguchi Genetic Algorithm and the Cooperative Coevolutive Hybrid-Taguchi Genetic Algorithm
- Getting mpapis public key
$ gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
- Download an install with curl
$ \curl -sSL https://get.rvm.io | bash -s stable --ruby
- Source (you should probably add this to your .bashrc or .bash_profile)
$ source ~/.rvm/scripts/rvm
- Update sources lists
$ apt-get update
- Install with RVM
$ rvm install 2.2.1
- Install documentation for that version (optional)
$ rvm docs generate-ri
- Select the version
$ rvm use 2.2.1
- First install bundler
$ gem install bundler
- Now go to the project's root folder and install the rest of the gems with
$ bundler install
- You run the genetic algorithms with
$ ruby <algorithm> <path to ini test file(s)>
The available values for <algorithm> are tga, htga, cchtga, tga_knapsack and htga_knapsack
<path to ini test file(s)> is usually a .ini file or subdirectory in the test_cases/ directory
For example: $ ruby htga test_cases/htga/dummy/f2_test.ini
- Running the tests
You go to each of the algorithms folders and execute: $ bundle exec cucumber