Learn R Programming

irace (version 3.5)

printParameters: Print parameter space in the textual format accepted by irace.

Description

FIXME: Dependent parameter bounds are not supported yet.

Usage

printParameters(params, digits = 15L)

Arguments

params

(list()) Parameter object stored in irace.Rdata or read with irace::readParameters().

digits

(integer()) The desired number of digits after the decimal point for real-valued parameters. Default is 15, but it should be the value in scenario$digits.

Examples

Run this code
 parameters.table <- '
 # name       switch           type  values               [conditions (using R syntax)]
 algorithm    "--"             c     (as,mmas,eas,ras,acs)
 localsearch  "--localsearch " c     (0, 1, 2, 3)
 ants         "--ants "        i,log (5, 100)
 q0           "--q0 "          r     (0.0, 1.0)           | algorithm == "acs"
 nnls         "--nnls "        i     (5, 50)              | localsearch %in% c(1,2,3)
 '
parameters <- readParameters(text=parameters.table)
printParameters(parameters)

Run the code above in your browser using DataLab