Library
Module
Module type
Parameter
Class
Class type
Typed ordered fuzzy numbers (OFNs) and associated operations, following "Rings of Typed Ordered Fuzzy Numbers."
Supported families are trapezoidal, Gaussian, and exponential.
OFN with type family
and essential tuple (au, bu, ad, bd). Components of the tuple are represented as individual fields (as opposed to an element of float * float * float * float
) for ease-of-access.
Apply a binary operator to the essential tuples of two OFNs.
Apply a binary operator to the essential tuples of two OFNs only when the types match. Raises OFN_type_mistmatch
if arguments are not of the same type.
val is_proper : tofn -> bool
Check if an OFN is proper.
val is_increasing : tofn -> bool
Determine if an OFN is increasing.
val is_decreasing : tofn -> bool
Determine if an OFN is decreasing.
val membership : tofn -> float -> float
The membership function associated to an OFN. Raises Improper_OFN
if the OFN is improper.