
Last chance! 50% off unlimited learning
Sale ends in
An element in a fuzzy set, with corresponding membership
Included - If
Partially Included - If
Not Included - If
element or list of elements in fuzzy set for which to get the inclusion level
One of: "Included", "Partially Included", "Not Included"
$inclusion(element)
For FuzzySets this is straightforward and returns the inclusion level of the given element(s), however in FuzzyTuples when an element may be duplicated, the function returns the inclusion level of all instances of the element.
# NOT RUN {
f = FuzzySet$new(0.1, 0, 1, 0.1, 2, 0.5, 3, 1)
f$inclusion(0.1)
f$inclusion(1)
f$inclusion(3)
# }
Run the code above in your browser using DataLab