Skip to content
th5th edited this page Jan 24, 2012 · 5 revisions

This page outlines the public interface to libcea. In line with the description given on the Project Management page, the API and object structure are currently under development, before detail design and coding begins.

  • cea.h provides core library and EA functionality. It is the "minimal set" of functions to create an EA in the libcea framework.

  • cea-operators.h makes available the genetic operators included with libcea. If user-provided operators are used, this file need not be included. Each operator is a class derived from the CeaOperator base class defined in cea.h. Operators are added to an algorithm using a CeaAlgorithm's add_operator() method.

  • cea-prng.h makes available implementations of several well-tested PRNGs of documented quality. Again, this file is unnecessary if the user application provides PRNG functionality. Each PRNG is a class derived from the CeaPrng base class defined in cea.h. PRNGs are added to CeaOperator-derived objects via the add_prng() method defined in the CeaOperator super-class.

Clone this wiki locally