Go to the previous, next section.
#include <FuzzyLib/FSetTrapez.h>
Fl_FSETTRAPEZ
FlFSetLR
FlFSetTriangle
None
FlFSetTrapez realizes a trapezium shaped membership function on
the base of an LR fuzzy set.
Constructors:
FlFSetTrapez()
FlFSetTrapez(FlParam *param);
FlFSetTrapez(double xm1, double xm2, double xalpha, double xbeta);
FlFSetTrapez(double min, double max, double xm1, double xm2, double xalpha, double xbeta);
FlFSetTrapez(FlStringR xname, double xm1, double xm2, double xalpha, double xbeta);
FlFSetTrapez(FlStringR xname, double min, double max, double xm1, double xm2,
double xalpha, double xbeta);
FlFSetTrapez with name as the object's name.
xm1 is the x-value of the left maximum, xm2 of the right one.
xalpha is the left and xbeta the right slope. min
and max are the function's minimum / maximum.
FlFSetTrapez
provides:
virtual double get_membership(double x) const;
x.
Go to the previous, next section.