gemseo.algos.progress_bar_data.base module#

Base class for displaying optimization data in the progress bar.

class BaseProgressBarData(problem)[source]#

Bases: object

Base class for the progress bar data related to an optimization problem.

Parameters:

problem (OptimizationProblem) -- The optimization problem from which to retrieve the data.

abstractmethod get(input_value)[source]#

Return the data to be displayed in the progress bar.

Parameters:

input_value (HashableNdarray | None) -- The input value related to this data, if any.

Returns:

The data to be displayed in the progress bar.

Return type:

StrKeyMapping