FisOutFuzzy: Class "FisOutFuzzy"

Description Fields Inherits Constructors Methods See Also Examples

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

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

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

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

get_mf(mf_index)
argument: mf_index

integer value, The index (1-based index) of the mf to return

return:

Mf object

get_mfs()

Get all mfs in the output

return:

list of Mf objects

is_standardized()
return:

logical value, TRUE if the output is a standardized fuzzy partition, FALSE otherwise

See Also

NewFisOutFuzzy

Fuzzy Logic Elementary Glossary

Examples

1
2
3
4
5
6
7
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))

FisPro documentation built on Feb. 10, 2021, 5:12 p.m.