The alpha-cut of a fuzzy set is defined as the set
numeric in [0, 1] to determine which elements to return
logical, if FALSE
(default) then includes elements greater than or equal to alpha, otherwise only strictly greater than
logical, if FALSE
(default) returns the elements in the alpha cut, otherwise returns a crisp set of the elements
$alphaCut(alpha, strong = FALSE, create = FALSE)
# NOT RUN {
f = FuzzySet$new(1, 0.1, 2, 0.5, 3, 1)
# Alpha-cut
f$alphaCut(0.5)
# Strong alpha-cut
f$alphaCut(0.5, strong = TRUE)
# Create a set from the alpha-cut
f$alphaCut(0.5, create = TRUE)
# }
Run the code above in your browser using DataLab