config_mfo {EmiR} | R Documentation |
Configuration object for the Moth-flame Optimization Algorithm
Description
Create a configuration object for the Moth-flame Optimization Algorithm (MFO). At minimum the number of iterations
(parameter iterations
) and the number of moths (parameter population_size
) have
to be provided.
Usage
config_mfo(
iterations,
population_size,
iterations_same_cost = NULL,
absolute_tol = NULL
)
Arguments
iterations |
maximum number of iterations. |
population_size |
number of moths. |
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_mfo
returns an object of class MFOConfig
.
References
Mirjalili S (2015). “Moth-flame optimization algorithm: A novel nature-inspired heuristic paradigm.” Knowledge-Based Systems, 89, 228–249. doi:10.1016/j.knosys.2015.07.006.
Examples
conf <- config_mfo(iterations = 100, population_size = 50, iterations_same_cost = NULL,
absolute_tol = NULL)