8.2.8.25. inf

class inf(_inf: float = 0, _num: float = 0)[source]

Class to model infinite numbers for workflow distance.

Methods

__abs__

__add__

__ceil__

__delattr__

Implement delattr(self, name).

__dir__

Default dir() implementation.

__eq__

Return self==value.

__floor__

__floordiv__

__format__

Default object formatter.

__ge__

Return self>=value.

__getattribute__

Return getattr(self, name).

__getstate__

Helper for pickle.

__gt__

Return self>value.

__init__

__init_subclass__

This method is called when a class is subclassed.

__iter__

__le__

Return self<=value.

__lt__

Return self<value.

__mod__

__mul__

__ne__

Return self!=value.

__neg__

__new__

__pos__

__pow__

__radd__

__reduce__

Helper for pickle.

__reduce_ex__

Helper for pickle.

__repr__

Return repr(self).

__rfloordiv__

__rmod__

__rmul__

__round__

__rpow__

__rsub__

__rtruediv__

__setattr__

Implement setattr(self, name, value).

__sizeof__

Size of object in memory, in bytes.

__str__

Return str(self).

__sub__

__subclasshook__

Abstract classes can override this to customize issubclass().

__truediv__

__trunc__

format

__init__(_inf: float = 0, _num: float = 0) None

Attributes

__annotations__

__dataclass_fields__

__dataclass_params__

__dict__

__doc__

__hash__

__match_args__

__module__

__weakref__

list of weak references to the object

_inf

_num

_inf: float = 0
_num: float = 0
__iter__()[source]
static format(val)[source]
__repr__()[source]

Return repr(self).

__add__(other)[source]
__sub__(other)[source]
__rsub__(other)[source]
__mul__(other)[source]
__truediv__(other)[source]
__rtruediv__(other)[source]
__pow__(other)[source]
__rpow__(other)[source]
__mod__(other)[source]
__rmod__(other)[source]
__floordiv__(other)[source]
__rfloordiv__(other)[source]
__neg__()[source]
__pos__()[source]
__abs__()[source]
__trunc__()[source]
__floor__()[source]
__ceil__()[source]
__round__(n=None)[source]
__radd__(other)
__rmul__(other)
__eq__(other)[source]

Return self==value.

__annotations__ = {'_inf': <class 'float'>, '_num': <class 'float'>}
__dataclass_fields__ = {'_inf': Field(name='_inf',type=<class 'float'>,default=0,default_factory=<dataclasses._MISSING_TYPE object>,init=True,repr=True,hash=None,compare=True,metadata=mappingproxy({}),kw_only=False,_field_type=_FIELD), '_num': Field(name='_num',type=<class 'float'>,default=0,default_factory=<dataclasses._MISSING_TYPE object>,init=True,repr=True,hash=None,compare=True,metadata=mappingproxy({}),kw_only=False,_field_type=_FIELD)}
__dataclass_params__ = _DataclassParams(init=True,repr=False,eq=False,order=False,unsafe_hash=False,frozen=True)
__delattr__(name)

Implement delattr(self, name).

__dict__ = mappingproxy({'__module__': 'schedula.utils.dsp', '__annotations__': {'_inf': <class 'float'>, '_num': <class 'float'>}, '__doc__': 'Class to model infinite numbers for workflow distance.', '_inf': 0, '_num': 0, '__iter__': <function inf.__iter__>, 'format': <staticmethod(<function inf.format>)>, '__repr__': <function inf.__repr__>, '__add__': <function inf.__add__>, '__sub__': <function inf.__sub__>, '__rsub__': <function inf.__rsub__>, '__mul__': <function inf.__mul__>, '__truediv__': <function inf.__truediv__>, '__rtruediv__': <function inf.__rtruediv__>, '__pow__': <function inf.__pow__>, '__rpow__': <function inf.__rpow__>, '__mod__': <function inf.__mod__>, '__rmod__': <function inf.__rmod__>, '__floordiv__': <function inf.__floordiv__>, '__rfloordiv__': <function inf.__rfloordiv__>, '__neg__': <function inf.__neg__>, '__pos__': <function inf.__pos__>, '__abs__': <function inf.__abs__>, '__trunc__': <function inf.__trunc__>, '__floor__': <function inf.__floor__>, '__ceil__': <function inf.__ceil__>, '__round__': <function inf.__round__>, '__radd__': <function inf.__add__>, '__rmul__': <function inf.__mul__>, '__eq__': <function inf.__eq__>, '__lt__': <function inf.__lt__>, '__le__': <function inf.__le__>, '__gt__': <function inf.__gt__>, '__ge__': <function inf.__ge__>, '__ne__': <function inf.__ne__>, '__dict__': <attribute '__dict__' of 'inf' objects>, '__weakref__': <attribute '__weakref__' of 'inf' objects>, '__hash__': None, '__dataclass_params__': _DataclassParams(init=True,repr=False,eq=False,order=False,unsafe_hash=False,frozen=True), '__dataclass_fields__': {'_inf': Field(name='_inf',type=<class 'float'>,default=0,default_factory=<dataclasses._MISSING_TYPE object>,init=True,repr=True,hash=None,compare=True,metadata=mappingproxy({}),kw_only=False,_field_type=_FIELD), '_num': Field(name='_num',type=<class 'float'>,default=0,default_factory=<dataclasses._MISSING_TYPE object>,init=True,repr=True,hash=None,compare=True,metadata=mappingproxy({}),kw_only=False,_field_type=_FIELD)}, '__init__': <function inf.__init__>, '__setattr__': <function inf.__setattr__>, '__delattr__': <function inf.__delattr__>, '__match_args__': ('_inf', '_num')})
__doc__ = 'Class to model infinite numbers for workflow distance.'
__hash__ = None
__init__(_inf: float = 0, _num: float = 0) None
__lt__(other)[source]

Return self<value.

__match_args__ = ('_inf', '_num')
__module__ = 'schedula.utils.dsp'
__setattr__(name, value)

Implement setattr(self, name, value).

__weakref__

list of weak references to the object

__le__(other)[source]

Return self<=value.

__gt__(other)[source]

Return self>value.

__ge__(other)[source]

Return self>=value.

__ne__(other)[source]

Return self!=value.