config_bat | R Documentation |
Create a configuration object for the Bat Algorithm (BAT). At minimum the number of iterations
(parameter iterations
) and the number of bats (parameter population_size
) have
to be provided.
config_bat( iterations, population_size, iterations_same_cost = NULL, absolute_tol = NULL, initial_loudness = 1.5, alpha = 0.9, initial_pulse_rate = 0.5, gamma = 0.9, freq_min = 0, freq_max = 2 )
iterations |
maximum number of iterations. |
population_size |
number of bats. |
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 |
initial_loudness |
initial loudness of emitted pulses. Typical values are in the range [1, 2]. Default is |
alpha |
parameter to control the linearly decreasing loudness with
the iterations. It should be between 0 and 1. Default is |
initial_pulse_rate |
initial rate at which pulses are emitted. It should
be between 0 and 1. Default is |
gamma |
parameter to control the exponentially decreasing pulse rate with
the iterations. Defatul is |
freq_min |
minimum frequency value of pulses. Default is |
freq_max |
maximum frequency value of pulses. Default is |
config_bat
returns an object of class BATConfig
.
yang2010newEmiR
conf <- config_bat(iterations = 100, population_size = 50, iterations_same_cost = NULL, absolute_tol = NULL, initial_loudness = 1.5, alpha = 0.9, initial_pulse_rate = 0.5, gamma = 0.9, freq_min = 0., freq_max = 2.)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.