cbx.utils.termination.max_time_term#

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

Bases: object

Checks if the elapsed time dyn.t has reached the specified maximum.

Returns:

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

Return type:

bool

__call__(dyn)[source]#

Call self as a function.