config_cs | R Documentation |
Create a configuration object for the Cuckoo Search Algorithm (CS). At minimum the number of iterations
(parameter iterations
) and the number of host nests (parameter population_size
) have
to be provided.
config_cs( iterations, population_size, iterations_same_cost = NULL, absolute_tol = NULL, discovery_rate = 0.25, step_size = 1 )
iterations |
maximum number of iterations. |
population_size |
number of host nests. |
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 |
discovery_rate |
probability for the egg laid by a cuckoo to be discovered by the host bird. It
should be between 0 and 1. Default is |
step_size |
step size of the Levy flight. Default is |
config_cs
returns an object of class CSConfig
.
Yang2009EmiR
conf <- config_cs(iterations = 100, population_size = 50, iterations_same_cost = NULL, absolute_tol = NULL, discovery_rate = 0.25, step_size = 1.0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.