poli.objective_factory.ExternalBlackBox#
- class poli.objective_factory.ExternalBlackBox(process_wrapper: ProcessWrapper)#
An external version of the black-box function to be instantiated in isolated processes.
- __init__(process_wrapper: ProcessWrapper)#
Initialize the ExternalBlackBox object.
- Parameters
info (ProblemSetupInformation) – The information about the problem.
process_wrapper (ProcessWrapper) – The process wrapper to communicate with the objective process.
Methods
__init__
(process_wrapper)Initialize the ExternalBlackBox object.
reset_evaluation_budget
()Resets the evaluation budget by setting the number of evaluations made to 0.
set_observer
(observer)Set the observer object for recording observations during evaluation.
terminate
()Terminates the external black box.