GeneticAlgoithm
Implementation of the genetic algorithm
|
This project is a first of my new one-day-build mini-projects serie. It is my take on implementing a simple version of the Genetic Algorithm using C++, with a demo use case consisting of fitting a gaussian distribution to a data histogram.
This code has been developed and tested on a machine running ubuntu 17.04, but should work on any linux distribution with gcc instaled.
This code is available on GitHub at:
https://github.com/remizaidan/GeneticAlgorithm
To download from the command-line:
https://remizaidan.github.io/GeneticAlgorithm
The code is structured into the following sub-directories:
After comiling, the following directories may be created:
Compile the demo (replace <N> with the number of cores on your machine):
make -j<N>
Run the demo:
./bin/runGA.exe [options]
For the list of available options see runGA::parseCommandLine or run:
./bin/runGA.exe -h
Compile into a shared library:
make -j<N> shared
Compile into a static library:
make -j<N> static
Generate local doxygen documentation:
make doc