@@ -82,15 +82,15 @@ AcqFunction = R6Class("AcqFunction",
8282 },
8383
8484 # ' @description
85- # ' Evaluates multiple input values on the objective function.
85+ # ' Evaluates multiple input values on the acquisition function.
8686 # '
8787 # ' @param xss (`list()`)\cr
8888 # ' A list of lists that contains multiple x values, e.g.
8989 # ' `list(list(x1 = 1, x2 = 2), list(x1 = 3, x2 = 4))`.
9090 # '
9191 # ' @return data.table::data.table() that contains one y-column for
92- # ' single-objective functions and multiple y-columns for multi-objective functions,
93- # ' e.g. `data.table(y = 1:2)` or `data.table(y1 = 1:2, y2 = 3:4)`.
92+ # ' single-objective acquisition functions and multiple y-columns for multi-objective
93+ # ' acquisition functions, e.g. `data.table(y = 1:2)` or `data.table(y1 = 1:2, y2 = 3:4)`.
9494 eval_many = function (xss ) {
9595 if (self $ check_values ) lapply(xss , self $ domain $ assert )
9696 res = invoke(private $ .fun , rbindlist(xss , use.names = TRUE , fill = TRUE ), .args = self $ constants $ values )
@@ -105,8 +105,8 @@ AcqFunction = R6Class("AcqFunction",
105105 # ' One point per row, e.g. `data.table(x1 = c(1, 3), x2 = c(2, 4))`.
106106 # '
107107 # ' @return data.table::data.table() that contains one y-column for
108- # ' single-objective functions and multiple y-columns for multi-objective
109- # ' functions, e.g. `data.table(y = 1:2)` or `data.table(y1 = 1:2, y2 = 3:4)`.
108+ # ' single-objective acquisition functions and multiple y-columns for multi-objective
109+ # ' acquisition functions, e.g. `data.table(y = 1:2)` or `data.table(y1 = 1:2, y2 = 3:4)`.
110110 eval_dt = function (xdt ) {
111111 if (self $ check_values ) self $ domain $ assert_dt(xdt )
112112 res = invoke(private $ .fun , xdt , .args = self $ constants $ values )
@@ -118,7 +118,7 @@ AcqFunction = R6Class("AcqFunction",
118118 active = list (
119119 # ' @field direction (`"same"` | `"minimize"` | `"maximize"`)\cr
120120 # ' Optimization direction of the acquisition function relative to the direction of the
121- # ' objective function of the [bbotk::OptimInstance].
121+ # ' objective function of the [bbotk::OptimInstance] related to the passed [bbotk::Archive] .
122122 # ' Must be `"same"`, `"minimize"`, or `"maximize"`.
123123 direction = function (rhs ) {
124124 if (missing(rhs )) {
0 commit comments