libfgen  0.1.15
Library for optimization using a genetic algorithm or particle swarm optimization
Data Fields
FgenPopulation Struct Reference

Data Fields

int size
int individual_size_in_bits
int data_element_size
int generation
FgenIndividual ** ind
int island
int selection_type
int tournament_size
int nu_elites
int selection_fitness_type
float crossover_probability_float
int crossover_probability
float mutation_probability_float
int mutation_probability
float macro_mutation_probability_float
int macro_mutation_probability
float migration_probability_float
int migration_probability
int migration_interval
int permutation_size
int generation_callback_interval
int stop_signalled
int cache_is_shared
int max_threads
void * user_data
FgenGenerationCallbackFunc fgen_generation_callback_func
FgenCalculateFitnessFunc fgen_calculate_fitness_func
FgenSeedFunc fgen_seed_func
FgenMutationFunc fgen_mutation_func
FgenCrossoverFunc fgen_crossover_func
float * fast_mutation_cumulative_chance
int fast_mutation_nu_bits_to_mutate
int initialization_type
float fast_mutation_probability

Detailed Description

Definition at line 141 of file fgen.h.

Field Documentation

int FgenPopulation::size

Size of the population.

Definition at line 143 of file fgen.h.

int FgenPopulation::individual_size_in_bits

Size of the bitstring of an individual in bits (multiple of 8).

Definition at line 144 of file fgen.h.

int FgenPopulation::data_element_size

Size of a date element within a bitstring (multiple of 8 or 1).

Definition at line 145 of file fgen.h.

int FgenPopulation::generation

The current generation.

Definition at line 146 of file fgen.h.

FgenIndividual** FgenPopulation::ind

Array of pointers to individuals.

Definition at line 147 of file fgen.h.

int FgenPopulation::island

The island to which this population belongs.

Definition at line 148 of file fgen.h.

int FgenPopulation::selection_type

The selection type.

Definition at line 150 of file fgen.h.

int FgenPopulation::tournament_size

The tournament size for tournament selection.

Definition at line 151 of file fgen.h.

int FgenPopulation::nu_elites

The number of elites for elitist selection.

Definition at line 152 of file fgen.h.

int FgenPopulation::selection_fitness_type

The fitness selection type.

Definition at line 153 of file fgen.h.

float FgenPopulation::crossover_probability_float

The crossover probability.

Definition at line 154 of file fgen.h.

float FgenPopulation::mutation_probability_float

The mutation probability.

Definition at line 156 of file fgen.h.

float FgenPopulation::macro_mutation_probability_float

The macro mutation probability.

Definition at line 158 of file fgen.h.

float FgenPopulation::migration_probability_float

The migration probability per individual.

Definition at line 160 of file fgen.h.

int FgenPopulation::migration_interval

The migration interval.

Definition at line 162 of file fgen.h.

int FgenPopulation::permutation_size

The permutation size for permutation operators.

Definition at line 163 of file fgen.h.

int FgenPopulation::generation_callback_interval

The interval at which the generation callback function is called.

Definition at line 164 of file fgen.h.

int FgenPopulation::stop_signalled

Whether a stop is signalled.

Definition at line 166 of file fgen.h.

int FgenPopulation::cache_is_shared


Definition at line 167 of file fgen.h.

int FgenPopulation::max_threads

Maximum number of concurrent threads to use.

Definition at line 168 of file fgen.h.

FgenCache* FgenPopulation::cache

Pointer to the cache.

Definition at line 169 of file fgen.h.

FgenRNG* FgenPopulation::rng

Pointer to random number generator.

Definition at line 170 of file fgen.h.

void* FgenPopulation::user_data

User data, used by ffit.

Definition at line 171 of file fgen.h.

FgenGenerationCallbackFunc FgenPopulation::fgen_generation_callback_func

Generation callback function.

Definition at line 173 of file fgen.h.

FgenCalculateFitnessFunc FgenPopulation::fgen_calculate_fitness_func

Fitness calculation function.

Definition at line 174 of file fgen.h.

FgenSeedFunc FgenPopulation::fgen_seed_func

Seeding operator.

Definition at line 175 of file fgen.h.

FgenMutationFunc FgenPopulation::fgen_mutation_func

Mutation operator.

Definition at line 176 of file fgen.h.

FgenCrossoverFunc FgenPopulation::fgen_crossover_func

Crossover operator.

Definition at line 177 of file fgen.h.

float* FgenPopulation::fast_mutation_cumulative_chance

Used internally.

Definition at line 178 of file fgen.h.

int FgenPopulation::fast_mutation_nu_bits_to_mutate

Used internally.

Definition at line 179 of file fgen.h.

int FgenPopulation::initialization_type

Flag that can be used to continue with an existing population.

Definition at line 180 of file fgen.h.

float FgenPopulation::fast_mutation_probability

Used internally.

Definition at line 181 of file fgen.h.

 All Data Structures Functions Variables