Some infill criteria have parameters that are dependent on values in the parameter set, design,
used learner or other control settings.
To actually set these default values, this function is called, which returns a fully
initialized [MBOInfillCrit
].
This function is mainly for internal use. If a custom infill criterion is created, it may be
required to create a separate method initCrit.InfillCritID
where ID
is the
id
of the custom MBOInfillCrit.
initCrit(crit, fun, design, learner, control)
[MBOInfillCrit
]
Uninitialized infill criterion.
[smoof_function
]
Fitness function to optimize.
Sampling plan.
[Learner
]
Regression learner from mlr, which is used as a surrogate to model our fitness function.
[MBOControl
]
MBO control object.