Learn R Programming

FisPro (version 1.1.4)

MfTriangular: Class "MfTriangular"

Description

Class to manage a triangular membership function

Arguments

Inherits

MfTriangular class inherits all fields and methods of Mf class

Constructors

MfTriangular(lower_support, kernel, upper_support)

argument: lower_support

numeric lower value of support

argument: kernel

numeric value of kernel

argument: upper_support

numeric upper value of support

return:

MfTriangular object

See Also

NewMfTriangular

Examples

Run this code
mf <- NewMfTriangular(0, 1, 2)
mf$degree(0.5)

Run the code above in your browser using DataLab