config_gwo {EmiR}R Documentation

Configuration object for the Grey Wolf Optimizer Algorithm

Description

Create a configuration object for the Grey Wolf Optimizer Algorithm (GWO). At minimum the number of iterations (parameter iterations) and the number of wolves (parameter population_size) have to be provided.

Usage

config_gwo(
  iterations,
  population_size,
  iterations_same_cost = NULL,
  absolute_tol = NULL
)

Arguments

iterations

maximum number of iterations.

population_size

number of wolves.

iterations_same_cost

maximum number of consecutive iterations with the same (see the parameter absolute_tol) best cost before ending the minimization. If NULL the minimization continues for the number of iterations specified by the parameter iterations. Default is NULL.

absolute_tol

absolute tolerance when comparing best costs from consecutive iterations. If NULL the machine epsilon is used. Default is NULL.

Value

config_gwo returns an object of class GWOConfig.

References

Mirjalili S, Mirjalili SM, Lewis A (2014). “Grey Wolf Optimizer.” Advances in Engineering Software, 69, 46–61. doi:10.1016/j.advengsoft.2013.12.007.

Examples

conf <- config_gwo(iterations = 100, population_size = 50, iterations_same_cost = NULL,
absolute_tol = NULL)


[Package EmiR version 1.0.4 Index]