GALib-Parallel
Header-only C++ library for parallel evolutionary algorithms
Loading...
Searching...
No Matches
IslandGAParams.h
Go to the documentation of this file.
1#ifndef ISLAND_GA_PARAMS_H
2#define ISLAND_GA_PARAMS_H
3
4#pragma once
5
6#include <cstddef>
8
9namespace galib {
10
19 std::size_t migration_interval = 50;
20
22 std::size_t migration_size = 5;
23
25 double immigration_quota = 0.1;
26
28 std::size_t buffer_capacity = 5;
29 };
30}
31
32#endif // ISLAND_GA_PARAMS_H
Base structure for common genetic algorithm configuration parameters.
Parameters for the Island Model Genetic Algorithm.
std::size_t buffer_capacity
Capacity of the circular buffer for incoming migrants (in terms of batches).
std::size_t migration_size
Number of individuals to send per migration event.
double immigration_quota
Maximum fraction of the population that can be replaced by migrants in one step.
std::size_t migration_interval
Number of generations between migration events.