getConfigurationById: Returns the configurations selected by ID.

View source: R/parameterAnalysis.R

getConfigurationByIdR Documentation

Returns the configurations selected by ID.

Description

Returns the configurations selected by ID.

Usage

getConfigurationById(iraceResults, ids, 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.

ids

integer()
The id or a vector of ids of the candidates configurations to obtain.

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, in the order and with the repetitions given by ids.

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)
getConfigurationById(log_file, ids = c(2,1), drop.metadata = TRUE)


irace documentation built on April 3, 2025, 10:03 p.m.