Installation

To include CIlib into your project, add the appropriate library dependencies to your project build tool (adjusting the artifact name for the different available modules).

An example, using SBT, would be:

libraryDependencies += "net.cilib" %% "cilib-<module>" % "2.0.1"

In the above, the <module> identifier can be replaced with one of the following:

  • core - Contains type class definitions together with required data structures.
  • exec - Simplistic execution code allowing for experimental execution.
  • de - Data structures and logic related to Differential Evolution.
  • docs - Sources for the website.
  • ga - Data structures and logic related to Genetic Algorithms.
  • pso - Data structures and logic related to Particle Swarm Optimization.
  • moo - Type classes, instances and data structures for Multi-Objective Optimization.

Have a look at the central repository for the different import statements for a variety of build tools. For example, this is the page for the core cilib module which lists the different build tool configurations. If there are any specifics that are not answered by these configurations, please feel free to get in contact with us.