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]

Bases: Exception

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

Public Data Attributes:

Inherited from BaseException

args

Public Methods:

Inherited from BaseException

with_traceback

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


class UnequalEnvelopeDurationError(minima_curve, maxima_curve)[source]

Bases: InvalidMinimaCurveAndMaximaCurveCombination

Public Data Attributes:

Inherited from BaseException

args

Public Methods:

Inherited from BaseException

with_traceback

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


Parameters:
class InvalidStartAtValueError(start_at)[source]

Bases: ValueError

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

Public Data Attributes:

Inherited from BaseException

args

Public Methods:

Inherited from BaseException

with_traceback

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


Parameters:

start_at (int) –

class NoSolutionFoundError[source]

Bases: Exception

Raise in case backtracking algorithm can’t find any solution

Public Data Attributes:

Inherited from BaseException

args

Public Methods:

Inherited from BaseException

with_traceback

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