Package FuzzyMath
Python package FuzzyMath
is a small lightweight library for Python (version >= 3.7) that performs basic
Interval and Fuzzy Arithmetic.
Expand source code
# flake8: noqa: F401
"""
Python package `FuzzyMath` is a small lightweight library for Python (version >= 3.7) that performs basic
Interval and Fuzzy Arithmetic.
"""
from .class_factories import FuzzyNumberFactory, IntervalFactory
from .class_fuzzy_number import AlphaCutSide, FuzzyNumber
from .class_interval import Interval
from .class_membership_operations import FuzzyAnd, FuzzyOr, PossibilisticAnd, PossibilisticOr
from .class_memberships import FuzzyMembership, PossibilisticMembership
from .class_precision import FuzzyMathPrecision, FuzzyMathPrecisionContext
from .fuzzynumber_comparisons import (
exceedance,
necessity_exceedance,
necessity_strict_exceedance,
necessity_strict_undervaluation,
necessity_undervaluation,
possibility_exceedance,
possibility_strict_exceedance,
possibility_strict_undervaluation,
possibility_undervaluation,
strict_exceedance,
strict_undervaluation,
undervaluation,
)
Sub-modules
FuzzyMath.class_factories
-
Factory classes
FuzzyMath.class_fuzzy_number
-
Fuzzy number class
FuzzyMath.class_interval
-
Class Interval
FuzzyMath.class_membership_operations
FuzzyMath.class_memberships
-
Classes for memberships
FuzzyMath.class_precision
-
Classes handling precision
FuzzyMath.fuzzynumber_comparisons