cosapp.drivers.optionaldriver¶
Classes
|
Abstract class to be inherited by driver turn off during heavy computation. |
-
class
cosapp.drivers.optionaldriver.OptionalDriver(name: str, owner: Optional[cosapp.systems.System] = None, force: Optional[bool] = None, **kwargs)[source]¶ Bases:
cosapp.drivers.driver.DriverAbstract class to be inherited by driver turn off during heavy computation.
For instance, Driver plotting some information are best turned off during optimization or Monte-Carlo.
-
error_code¶
-
is_active() → bool[source]¶ Is this Module execution activated?
- Returns
Activation status
- Return type
bool
-
options¶
-
classmethod
set_inhibited(inhibited: bool) → None[source]¶ Set the inhibition status for all OptionalDriver classes.
- Parameters
inhibited (bool) – The new inhibition status
-
start_time¶
-
status¶
-