Useful if vectors are included.
getParamIds(par, repeated = FALSE, with.nr = FALSE)
ps = makeParamSet(
makeNumericParam("u"),
makeIntegerVectorParam("v", len = 2)
)
getParamIds(ps)
#> [1] "u" "v"
getParamIds(ps, repeated = TRUE)
#> [1] "u" "v" "v"
getParamIds(ps, repeated = TRUE, with.nr = TRUE)
#> [1] "u" "v1" "v2"