mutwo.common_utilities§

Object

Documentation

mutwo.common_utilities.InvalidMinimaCurveAndMaximaCurveCombination

Raise for invalid envelope combinations in mutwo.common_generators.Tendency.

mutwo.common_utilities.UnequalEnvelopeDurationError

mutwo.common_utilities.InvalidStartAtValueError

Raise for invalid error of ‘start_at’ in mutwo.common_generators.ActivityLevel

mutwo.common_utilities.NoSolutionFoundError

Raise in case backtracking algorithm can’t find any solution

class InvalidMinimaCurveAndMaximaCurveCombination[source]§

Raise for invalid envelope combinations in mutwo.common_generators.Tendency.

Public Data Attributes:

Inherited from BaseException

args

Public Methods:

Inherited from Exception

__init__(*args, **kwargs)

Inherited from BaseException

__repr__()

Return repr(self).

__str__()

Return str(self).

__getattribute__(name, /)

Return getattr(self, name).

__setattr__(name, value, /)

Implement setattr(self, name, value).

__delattr__(name, /)

Implement delattr(self, name).

__init__(*args, **kwargs)

__reduce__

Helper for pickle.

__setstate__

with_traceback

Exception.with_traceback(tb) -- set self.__traceback__ to tb and return self.


with_traceback()§

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

args§
class UnequalEnvelopeDurationError(minima_curve, maxima_curve)[source]§

Public Data Attributes:

Inherited from BaseException

args

Public Methods:

__init__(minima_curve, maxima_curve)

Inherited from Exception

__init__(minima_curve, maxima_curve)

Inherited from BaseException

__repr__()

Return repr(self).

__str__()

Return str(self).

__getattribute__(name, /)

Return getattr(self, name).

__setattr__(name, value, /)

Implement setattr(self, name, value).

__delattr__(name, /)

Implement delattr(self, name).

__init__(minima_curve, maxima_curve)

__reduce__

Helper for pickle.

__setstate__

with_traceback

Exception.with_traceback(tb) -- set self.__traceback__ to tb and return self.


Parameters:
with_traceback()§

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

args§
class InvalidStartAtValueError(start_at)[source]§

Raise for invalid error of ‘start_at’ in mutwo.common_generators.ActivityLevel

Public Data Attributes:

Inherited from BaseException

args

Public Methods:

__init__(start_at)

Inherited from ValueError

__init__(start_at)

Inherited from Exception

__init__(start_at)

Inherited from BaseException

__repr__()

Return repr(self).

__str__()

Return str(self).

__getattribute__(name, /)

Return getattr(self, name).

__setattr__(name, value, /)

Implement setattr(self, name, value).

__delattr__(name, /)

Implement delattr(self, name).

__init__(start_at)

__reduce__

Helper for pickle.

__setstate__

with_traceback

Exception.with_traceback(tb) -- set self.__traceback__ to tb and return self.


Parameters:

start_at (int) –

with_traceback()§

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

args§
class NoSolutionFoundError[source]§

Raise in case backtracking algorithm can’t find any solution

Public Data Attributes:

Inherited from BaseException

args

Public Methods:

__init__()

Inherited from Exception

__init__()

Inherited from BaseException

__repr__()

Return repr(self).

__str__()

Return str(self).

__getattribute__(name, /)

Return getattr(self, name).

__setattr__(name, value, /)

Implement setattr(self, name, value).

__delattr__(name, /)

Implement delattr(self, name).

__init__()

__reduce__

Helper for pickle.

__setstate__

with_traceback

Exception.with_traceback(tb) -- set self.__traceback__ to tb and return self.


with_traceback()§

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

args§