gemseo / core / mdofunctions

Show inherited members

norm_db_function module

An MDOFunction subclass to support formulations.

class gemseo.core.mdofunctions.norm_db_function.NormDBFunction(orig_func, normalize, is_observable, optimization_problem)[source]

Bases: MDOFunction

An MDOFunction object to be evaluated from a database.

Initialize self. See help(type(self)) for accurate signature.

  • orig_func (MDOFunction) – The original function to be wrapped.

  • normalize (bool) – If True, then normalize the function’s input vector.

  • is_observable (bool) – If True, new_iter_listeners are not called when function is called (avoid recursive call).

  • optimization_problem (OptimizationProblem) – The optimization problem object that contains the function.

force_real: bool

Whether to cast the results to real value.

has_default_name: bool

Whether the name has been set with a default value.

last_eval: OutputType | None

The value of the function output at the last evaluation.

None if it has not yet been evaluated.

special_repr: str

The string representation of the function overloading its default string ones.