get_instanceID_seed_pairs {irace} | R Documentation |
Returns the pairs of instance IDs and seeds used as instances in the race (and optionally the actual instances).
get_instanceID_seed_pairs(iraceResults, index, instances = FALSE)
iraceResults |
|
index |
( |
instances |
( |
data.table()
With default arguments, a data.table
containing two columns
"instanceID"
and "seed"
. With instances=TRUE
and if the instances
are of atomic type (see is.atomic()
) type, another column instance
is
added that contains the actual instance.
Manuel López-Ibáñez
log_file <- system.file("exdata/irace-acotsp.Rdata", package="irace", mustWork=TRUE)
head(get_instanceID_seed_pairs(log_file))
# Add the instance names
get_instanceID_seed_pairs(log_file, index=1:10, instances=TRUE)