FisOutFuzzy | R Documentation |
Class to manage a Fis fuzzy output
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"
FisOutFuzzy class inherits all fields and methods of FisOut class
FisOutFuzzy()
The default constructor to build a fuzzy output with the default range [0, 1]
FisOutFuzzy object
FisOutFuzzy(minimum, maximum)
The constructor to build a fuzzy output
minimum
numeric value, The minimum range value of the output
maximum
numeric value, The maximum range value of the output
FisOutFuzzy object
FisOutFuzzy(number_of_mfs, minimum, maximum)
The constructor to build a fuzzy with a regular standardized fuzzy partition
number_of_mfs
integer value, The number of Mfs in the fuzzy partition
minimum
numeric value, The minimum range value of the output
maximum
numeric value, The maximum range value of the output
FisOutFuzzy object
FisOutFuzzy(breakpoints, minimum, maximum)
The constructor to build a fuzzy with an irregular standardized fuzzy partition
breakpoints
numeric vector, The breakpoint values (sorted in ascending order) of the Mfs in the fuzzy partition
minimum
numeric value, The minimum range value of the output
maximum
numeric value, The maximum range value of the output
FisOutFuzzy object
mf_size()
integer value, The number of Mfs in the output partition
add_mf(mf)
Add an Mf in the output partition
mf
Mf object, The Mf to add
get_mf(mf_index)
mf_index
integer value, The index (1-based index) of the mf to return
Mf object
get_mfs()
Get all mfs in the output
list of Mf objects
is_standardized()
logical value, TRUE
if the output is a standardized fuzzy partition, FALSE
otherwise
NewFisOutFuzzy
Fuzzy Logic Elementary Glossary
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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.