View source: R/makeMultiObjectiveFunction.R
makeMultiObjectiveFunction | R Documentation |
Generator for multi-objective target functions.
makeMultiObjectiveFunction(
name = NULL,
id = NULL,
description = NULL,
fn,
has.simple.signature = TRUE,
par.set,
n.objectives = NULL,
noisy = FALSE,
fn.mean = NULL,
minimize = NULL,
vectorized = FALSE,
constraint.fn = NULL,
ref.point = NULL
)
name |
[ |
id |
[ |
description |
[ |
fn |
[ |
has.simple.signature |
[ |
par.set |
[ |
n.objectives |
[ |
noisy |
[ |
fn.mean |
[ |
minimize |
[ |
vectorized |
[ |
constraint.fn |
[ |
ref.point |
[ |
[function
] Target function with additional stuff attached as attributes.
fn = makeMultiObjectiveFunction(
name = "My test function",
fn = function(x) c(sum(x^2), exp(x)),
n.objectives = 2L,
par.set = makeNumericParamSet("x", len = 1L, lower = -5L, upper = 5L)
)
print(fn)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.