FisIn {FisPro} | R Documentation |
Class to manage a Fis input
name
character vector, The name of the input
FisIn()
The default constructor to build an empty input with the default range [0, 1]
FisIn object
FisIn(minimum, maximum)
The constructor to build an empty input
FisIn(number_of_mfs, minimum, maximum)
The constructor to build an input with a regular standardized fuzzy partition
FisIn(breakpoints, minimum, maximum)
The constructor to build an input with an irregular standardized fuzzy partition
range()
numeric vector, The range of the input (min max values)
mf_size()
integer value, The number of Mfs in the input partition
add_mf(mf)
Add an Mf in the input partition
mf
Mf object, The Mf to add
get_mf(mf_index)
get_mfs()
Get all mfs in the input
is_standardized()
logical value, TRUE
if the input is a standardized fuzzy partition, FALSE
otherwise
Fuzzy Logic Elementary Glossary
input <- NewFisIn(0, 2)
input$name <- "foo"
input$add_mf(NewMfTrapezoidalInf(0, 1))
input$add_mf(NewMfTriangular(0, 1, 2))
input$add_mf(NewMfTrapezoidalSup(1, 2))