checkpoint¶
Bindings for protocols::checkpoint namespace
-
class
pyrosetta.rosetta.protocols.checkpoint.
Timer
¶ Bases:
pybind11_builtins.pybind11_object
: singleton checkpoint timer class
- : Keeps track of when to checkpoint using a time interval.
Not thread safe.
This doesn’t derive from SingletonBase because there’s currently no non-static data.
David K
-
__delattr__
¶ Implement delattr(self, name).
-
__dir__
() → list¶ default dir() implementation
-
__eq__
¶ Return self==value.
-
__format__
()¶ default object formatter
-
__ge__
¶ Return self>=value.
-
__getattribute__
¶ Return getattr(self, name).
-
__gt__
¶ Return self>value.
-
__hash__
¶ Return hash(self).
-
__init__
¶ Initialize self. See help(type(self)) for accurate signature.
-
__init_subclass__
()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__le__
¶ Return self<=value.
-
__lt__
¶ Return self<value.
-
__ne__
¶ Return self!=value.
-
__new__
()¶ Create and return a new object. See help(type) for accurate signature.
-
__reduce__
()¶ helper for pickle
-
__reduce_ex__
()¶ helper for pickle
-
__repr__
¶ Return repr(self).
-
__setattr__
¶ Implement setattr(self, name, value).
-
__sizeof__
() → int¶ size of object in memory, in bytes
-
__str__
¶ Return str(self).
-
__subclasshook__
()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
instance
() → pyrosetta.rosetta.protocols.checkpoint.Timer¶ C++: protocols::checkpoint::Timer::instance() –> class protocols::checkpoint::Timer &
-
is_on
() → bool¶ C++: protocols::checkpoint::Timer::is_on() –> bool
-
reset
() → None¶ C++: protocols::checkpoint::Timer::reset() –> void
-
set_interval
(self: pyrosetta.rosetta.protocols.checkpoint.Timer, interval_in: int) → None¶ C++: protocols::checkpoint::Timer::set_interval(const int) –> void
-
time_to_checkpoint
() → bool¶ C++: protocols::checkpoint::Timer::time_to_checkpoint() –> bool
-
pyrosetta.rosetta.protocols.checkpoint.
checkpoint_with_interval
(interval_in: int) → None¶ C++: protocols::checkpoint::checkpoint_with_interval(const int) –> void