powered by
Class to manage a triangular membership function
MfTriangular class inherits all fields and methods of Mf class
MfTriangular
MfTriangular(lower_support, kernel, upper_support)
lower_support
numeric lower value of support
kernel
numeric value of kernel
upper_support
numeric upper value of support
MfTriangular object
NewMfTriangular
mf <- NewMfTriangular(0, 1, 2) mf$degree(0.5)
Run the code above in your browser using DataLab