FisOutFuzzy {FisPro} | R Documentation |
Class "FisOutFuzzy"
Description
Class to manage a Fis fuzzy output
Fields
defuzzification
character vector, The defuzzification operator of the fuzzy output
Allowed values are: "sugeno" (the default) "MeanMax", or "area"disjunction
character vector, The disjunction operator of the fuzzy output
Allowed values are: "max" (the default) or "sum"
Inherits
FisOutFuzzy class inherits all fields and methods of FisOut class
Constructors
FisOutFuzzy()
-
The default constructor to build a fuzzy output with the default range [0, 1]
- return:
FisOutFuzzy object
FisOutFuzzy(minimum, maximum)
-
The constructor to build a fuzzy output
- argument:
minimum
numeric value, The minimum range value of the output
- argument:
maximum
numeric value, The maximum range value of the output
- return:
FisOutFuzzy object
- argument:
FisOutFuzzy(number_of_mfs, minimum, maximum)
-
The constructor to build a fuzzy with a regular standardized fuzzy partition
- argument:
number_of_mfs
integer value, The number of Mfs in the fuzzy partition
- argument:
minimum
numeric value, The minimum range value of the output
- argument:
maximum
numeric value, The maximum range value of the output
- return:
FisOutFuzzy object
- argument:
FisOutFuzzy(breakpoints, minimum, maximum)
-
The constructor to build a fuzzy with an irregular standardized fuzzy partition
- argument:
breakpoints
numeric vector, The breakpoint values (sorted in ascending order) of the Mfs in the fuzzy partition
- argument:
minimum
numeric value, The minimum range value of the output
- argument:
maximum
numeric value, The maximum range value of the output
- return:
FisOutFuzzy object
- argument:
Methods
mf_size()
-
- return:
integer value, The number of Mfs in the output partition
add_mf(mf)
-
Add an Mf in the output partition
- argument:
mf
Mf object, The Mf to add
- argument:
get_mf(mf_index)
get_mfs()
-
Get all mfs in the output
is_standardized()
-
- return:
logical value,
TRUE
if the output is a standardized fuzzy partition,FALSE
otherwise
See Also
Fuzzy Logic Elementary Glossary
Examples
output <- NewFisOutFuzzy(0, 2)
output$name <- "foo"
output$defuzzification <- "sugeno"
output$disjunction <- "max"
output$add_mf(NewMfTrapezoidalInf(0, 1))
output$add_mf(NewMfTriangular(0, 1, 2))
output$add_mf(NewMfTrapezoidalSup(1, 2))