libfgen  0.1.15
Library for optimization using a genetic algorithm or particle swarm optimization
Public Member Functions

Public Member Functions

FGEN_API FgenppArchipelago (int max_size)
FGEN_API ~FgenppArchipelago ()
FGEN_API void AddIsland (FgenppPopulation *pop)
FGEN_API void Run (int max_generation)
FGEN_API void RunThreaded (int max_generation)
FGEN_API void RunSteadyState (int max_generation)
FGEN_API void RunSteadyStateThreaded (int max_generation)
FGEN_API FgenppIndividualBestIndividual ()
FGEN_API FgenppPopulationGetPopulation (int index)

Detailed Description

Definition at line 116 of file fgenpp.h.

Constructor & Destructor Documentation

Constructor for an archipelago of genetic algorithms of the specified maximum size.

Definition at line 314 of file fgenpp.cpp.

Deconstructor for an archipelago that frees all data structures associated with the archipelago.

Definition at line 324 of file fgenpp.cpp.

Member Function Documentation

Add an island of type FgenppPopulation * to an archipelago.

Definition at line 334 of file fgenpp.cpp.

void FgenppArchipelago::Run ( int  max_generation)

Run the genetic algorithm on the archipelago.

Definition at line 343 of file fgenpp.cpp.

Returns the best individual of the archipelago (all islands).

Definition at line 363 of file fgenpp.cpp.

Returns the population (of type FgenppPopulation) corresponding to the given index.

Definition at line 371 of file fgenpp.cpp.

 All Data Structures Functions Variables