Go to the previous, next section.

FlFSetTrapez -- Fuzzy set with trapezium function

SYNOPSIS

#include <FuzzyLib/FSetTrapez.h>

TYPE

Fl_FSETTRAPEZ

BASE CLASSES

FlFSetLR

DERIVED CLASSES

FlFSetTriangle

RELATED CLASSES

None

DESCRIPTION

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);
Initialize 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.

In addition to the member functions required by FuzzyLib, FlFSetTrapez provides:

virtual double get_membership(double x) const;
Returns the membership value for x.

Go to the previous, next section.