package tofn
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Module Tofn
Source
Typed ordered fuzzy numbers (OFNs) and associated operations, following "Rings of Typed Ordered Fuzzy Numbers."
Incompatible OFN type families.
An OFN is improper when it has no membership function.
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.
The membership function associated to an OFN. Raises Improper_OFN
if the OFN is improper.