config_gsa | R Documentation |
Create a configuration object for the Gravitational Search Algorithm (GSA). At minimum the number of iterations
(parameter iterations
) and the number of planets (parameter population_size
) have
to be provided.
config_gsa( iterations, population_size, iterations_same_cost = NULL, absolute_tol = NULL, grav = 1000, grav_evolution = 20 )
iterations |
maximum number of iterations. |
population_size |
number of planets. |
iterations_same_cost |
maximum number of consecutive iterations with the same
(see the parameter |
absolute_tol |
absolute tolerance when comparing best costs from consecutive iterations.
If |
grav |
gravitational constant, involved in the acceleration of planets.
Default is |
grav_evolution |
parameter to control the exponentially decreasing gravitational constant with
the iterations. Default is |
config_gsa
returns an object of class GSAConfig
.
Rashedi2009EmiR
conf <- config_gsa(iterations = 100, population_size = 50, iterations_same_cost = NULL, absolute_tol = NULL, grav = 1000, grav_evolution = 20.)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.