LogInfo#
- class ioh.iohcpp.LogInfo(self: ioh.iohcpp.LogInfo, evaluations: int, raw_y: float, raw_y_best: float, transformed_y: float, transformed_y_best: float, y: float, y_best: float, x: List[float], violations: List[float], penalties: List[float], optimum: ioh.iohcpp.RealSolution, has_improved: bool = False)#
Bases:
pybind11_object
LogInfo struct. Gets passed to the call method of a logger when it is invoked.
- Parameters:
evaluations (int) – The current number of evaluations
y_best (float) – The raw current fitness value
raw_y_best (float) – The raw current best fitness value
transformed_y (float) – The transformed current fitness value
transformed_y_best (float) – The transformed current best fitness value
y (float) – The transformed current fitness value with constraints applied
y_best – The transformed current best fitness value with constraints applied
x (np.npdarray | list) – The current solution passed to problem
violation (np.npdarray | list) – The current solution constraint violations
penalties (np.npdarray | list) – The current solution constraint penalties
optimum (Solution) – The optimum solution for the problem
has_improved (bool = True) – Whether the evaluation has caused an improvement in the objective value
Attributes Summary
The number of function evaluations performed on the current problem so far
Whether the last call to problem has caused global improvement.
The best possible fitness value
Attributes Documentation
- evaluations#
The number of function evaluations performed on the current problem so far
- has_improved#
Whether the last call to problem has caused global improvement.
- objective#
The best possible fitness value
- penalties#
- raw_y#
- raw_y_best#
- transformed_y#
- transformed_y_best#
- violations#
- x#
- y#
- y_best#