config_woa {EmiR} | R Documentation |
Configuration object for the Whale Optimization Algorithm
Description
Create a configuration object for the Whale Optimization Algorithm (WOA). At minimum the number of iterations
(parameter iterations
) and the number of whales (parameter population_size
) have
to be provided.
Usage
config_woa(
iterations,
population_size,
iterations_same_cost = NULL,
absolute_tol = NULL
)
Arguments
iterations |
maximum number of iterations. |
population_size |
number of whales. |
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 |
Value
config_woa
returns an object of class WOAConfig
.
References
Mirjalili S, Lewis A (2016). “The Whale Optimization Algorithm.” Advances in Engineering Software, 95, 51-67. ISSN 0965-9978, doi:10.1016/j.advengsoft.2016.01.008, https://www.sciencedirect.com/science/article/pii/S0965997816300163.
Examples
conf <- config_woa(iterations = 100, population_size = 50, iterations_same_cost = NULL,
absolute_tol = NULL)