cbx.utils.termination.max_time_term#

class cbx.utils.termination.max_time_term(max_time=10.0)[source]#

Bases: object

Checks if the current value of dyn is greater than or equal to the value of dyn.max_time.

Returns:

True if dyn.t is greater than or equal to dyn.max_time, False otherwise.

Return type:

bool

__call__(dyn)[source]#

Call self as a function.