Go to the first, previous, next, last section, table of contents.


CNFSetTriangle -- Fuzzy set with triangle function

SYNOPSIS

#include <CNCL/FSetTriangle.h>

TYPE

CN_FSETTRIANGLE

BASE CLASSES

CNFSetTrapez

DERIVED CLASSES

None

RELATED CLASSES

CNFNumTriangle

DESCRIPTION

CNFSetTriangle realizes a triangle shaped membership function.

Constructors:

CNFSetTriangle();
CNFSetTriangle(CNParam *param);
CNFSetTriangle(double xm, double xalpha, double xbeta);
CNFSetTriangle(double min, double max, double xm, double xalpha, double xbeta);
CNFSetTriangle(CNStringR xname, double xm, double xalpha, double xbeta);
CNFSetTriangle(CNStringR xname, double min, double max,double xm, double xalpha, double xbeta);
Initializes the CNFSetTriangle.


In addition to the member functions required by CNCL, CNFSetTriangle 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 first, previous, next, last section, table of contents.