Print parameter dependencies as a tree

parameters_tree(parameters)

Arguments

parameters

(list()) Parameter space in irace format. See the function irace::readParameters().

Author

Manuel López-Ibáñez

Examples

# Read the parameters directly from text.
parameters_tab <- '
a "" i (2, 10)
b "" c (yes, no) | a < 5
c "" o (low, medium, high) | (a == 2) | (b == "yes")
d "" r (a, 50)
'
parameters <- irace::readParameters(text=parameters_tab)
parameters_tree(parameters)
#>  
#> └─a
#>   ├─b
#>   │ └─c
#>   ├─c
#>   └─d