Go to the previous, next section.

FlFSetTriangle -- Fuzzy set with triangle function

SYNOPSIS

#include <FuzzyLib/FSetTriangle.h>

TYPE

Fl_FSETTRIANGLE

BASE CLASSES

FlFSetTrapez

DERIVED CLASSES

None

RELATED CLASSES

FlFNumTriangle

DESCRIPTION

FlFSetTriangle realizes a triangle shaped membership function.

Constructors:

FlFSetTriangle();
FlFSetTriangle(FlParam *param);
FlFSetTriangle(double xm, double xalpha, double xbeta);
FlFSetTriangle(double min, double max, double xm, double xalpha, double xbeta);
FlFSetTriangle(FlStringR xname, double xm, double xalpha, double xbeta);
FlFSetTriangle(FlStringR xname, double min, double max,double xm, double xalpha, double xbeta);
Initializes the FlFSetTriangle.

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

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

double get_mean() const;
Returns the mean value m1==m2 (maximum).

Go to the previous, next section.