getConfigurationByIteration {irace} | R Documentation |
Returns the configurations by the iteration in which they were executed.
Description
Returns the configurations by the iteration in which they were executed.
Usage
getConfigurationByIteration(iraceResults, iterations, drop.metadata = FALSE)
Arguments
iraceResults |
list() |character(1) Object created by irace and typically saved in the log file irace.Rdata . If a character string is given, then it is interpreted as the path to the log file from which the iraceResults object will be loaded.
|
iterations |
(integer() ) The iteration number or a vector of iteration numbers from where
the configurations should be obtained. Negative values start counting from the last iteration.
|
drop.metadata |
logical(1) Remove metadata, such as the
configuration ID and the ID of the parent, from the returned
configurations. See removeConfigurationsMetaData() .
|
Value
A data frame containing the elite configurations required.
Author(s)
Manuel López-Ibáñez and Leslie Pérez Cáceres
Examples
log_file <- system.file("exdata/irace-acotsp.Rdata", package="irace", mustWork=TRUE)
getConfigurationByIteration(log_file, iterations = c(-2, -1), drop.metadata = TRUE)
[Package
irace version 4.0
Index]