Skip to content

Commit

Permalink
Merge branch 'main' into adbo
Browse files Browse the repository at this point in the history
  • Loading branch information
be-marc committed Jul 1, 2024
2 parents 106c58b + ffa3f0b commit 81959dc
Show file tree
Hide file tree
Showing 12 changed files with 19 additions and 10 deletions.
4 changes: 1 addition & 3 deletions R/AcqFunction.R
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ AcqFunction = R6Class("AcqFunction",
check_packages_installed(packages, msg = sprintf("Package '%%s' required but not installed for acquisition function '%s'", sprintf("<%s:%s>", "AcqFunction", id)))
}
private$.requires_predict_type_se = assert_flag(requires_predict_type_se)
private$.label = assert_string(label, na.ok = TRUE)
private$.man = assert_string(man, na.ok = TRUE)
private$.packages = packages
self$direction = assert_choice(direction, c("same", "minimize", "maximize"))
if (is.null(surrogate)) {
Expand All @@ -64,7 +62,7 @@ AcqFunction = R6Class("AcqFunction",
self$surrogate_max_to_min = surrogate_mult_max_to_min(surrogate)
domain = generate_acq_domain(surrogate)
}
super$initialize(id = id, domain = domain, codomain = codomain, constants = constants)
super$initialize(id = id, domain = domain, codomain = codomain, constants = constants, label = label, man = man)
},

#' @description
Expand Down
1 change: 1 addition & 0 deletions man/AcqFunction.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion man/mlr_acqfunctions_aei.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/mlr_acqfunctions_cb.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion man/mlr_acqfunctions_ehvi.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion man/mlr_acqfunctions_ehvigh.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion man/mlr_acqfunctions_ei.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion man/mlr_acqfunctions_eips.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/mlr_acqfunctions_mean.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion man/mlr_acqfunctions_pi.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/mlr_acqfunctions_sd.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion man/mlr_acqfunctions_smsego.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 81959dc

Please sign in to comment.