Skip to content

Commit

Permalink
chore: add async property to optimizer
Browse files Browse the repository at this point in the history
  • Loading branch information
be-marc committed Nov 7, 2024
1 parent d2f535e commit 25a7b5c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion R/OptimizerAsyncDesignPoints.R
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ OptimizerAsyncDesignPoints = R6Class("OptimizerAsyncDesignPoints",
id = "design_points",
param_set = param_set,
param_classes = c("ParamLgl", "ParamInt", "ParamDbl", "ParamFct", "ParamUty"),
properties = c("dependencies", "single-crit", "multi-crit"),
properties = c("dependencies", "single-crit", "multi-crit", "async"),
packages = "rush",
label = "Asynchronous Design Points",
man = "bbotk::mlr_optimizers_async_design_points"
Expand Down
2 changes: 1 addition & 1 deletion R/OptimizerAsyncGridSearch.R
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ OptimizerAsyncGridSearch = R6Class("OptimizerAsyncGridSearch",
id = "async_grid_search",
param_set = param_set,
param_classes = c("ParamLgl", "ParamInt", "ParamDbl", "ParamFct"),
properties = c("dependencies", "single-crit", "multi-crit"),
properties = c("dependencies", "single-crit", "multi-crit", "async"),
packages = "rush",
label = "Asynchronous Grid Search",
man = "bbotk::mlr_optimizers_async_grid_search"
Expand Down
2 changes: 1 addition & 1 deletion R/OptimizerAsyncRandomSearch.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ OptimizerAsyncRandomSearch = R6Class("OptimizerAsyncRandomSearch",
id = "async_random_search",
param_set = ps(),
param_classes = c("ParamLgl", "ParamInt", "ParamDbl", "ParamFct"),
properties = c("dependencies", "single-crit", "multi-crit"),
properties = c("dependencies", "single-crit", "multi-crit", "async"),
packages = "rush",
label = "Asynchronous Random Search",
man = "bbotk::mlr_optimizers_random_search"
Expand Down
2 changes: 1 addition & 1 deletion R/bbotk_reflections.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ bbotk_reflections = new.env(parent = emptyenv())

### optimizer_properties
bbotk_reflections$optimizer_properties = c(
"dependencies", "single-crit", "multi-crit"
"dependencies", "single-crit", "multi-crit", "async"
)

### objective_properties
Expand Down

0 comments on commit 25a7b5c

Please sign in to comment.