Print parameter dependencies as a tree
parameters_tree(parameters)
(list()
) Parameter space in irace format. See the function irace::readParameters()
.
# 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