genetic

Authors Project Build Status
N. Curti Genetic Linux/MacOS : Travis

GitHub pull-requests GitHub issues

GitHub stars GitHub watchers

Genetic algorithm

Examples of genetic algorithm applications in parallel and distributed environments.

  1. Prerequisites
  2. Installation
  3. Authors
  4. License

Prerequisites

This project collects examples of genetic algorithm applications to very simple problems. The codes are written in c++ language with the support of c++14 standard. Before install it, please upgrade your c++ compiler version to a compatible one (ex. version >= 5 for g++ compiler).

For the multi-threading version of the algorithm OpenMP is required so please check if your compiler support it.

A more sophisticated version of the algorithm is written with MPI. Before install this project, please verify if boost mpi libraries are already installed.

For the MPI compiler must be set the variable OMPI_CXX.

Installation

To build the executables, clone the repo and then type

make omp OMP=1

for the multi-threading version, and

make mpi MPI=1

for the message-passing version.

If in the Makefile the variable OMP is set to true (aka 1) you can enable multi-threading also for the mpi code (hybrid version).

Authors

License

This project is released under GPL license. License: GPL v3