config_algo | R Documentation |
Create a configuration object for one of the algorithms available in EmiR. At minimum the id of the
algorithm (parameter algorithm_id
), the number of iterations (parameter iterations
) and the
number of individuals in the population (parameter population_size
) have to be provided.
config_algo( algorithm_id, iterations, population_size, iterations_same_cost = NULL, absolute_tol = NULL, ... )
algorithm_id |
id of the algorithm to be used. See list_of_algorithms for the list of the available algorithms. |
iterations |
maximum number of iterations. |
population_size |
number of individuals in the population. |
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 |
... |
algorithm specific parameters (see specific configuration functions for more details). |
config_algo
returns a configuration object specific for the specified algorithm.
conf <- config_algo(algorithm_id = "PS", population_size = 200, iterations = 10000)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.