#include <CNCL/FSetTriangle.h>
CN_FSETTRIANGLE
CNFSetTrapez
None
CNFNumTriangle
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);
CNFSetTriangle
.
In addition to the member functions required by CNCL, CNFSetTriangle
provides:
virtual double get_membership(double x)const;
x
.
double get_mean() const;
m1==m2
(maximum).
Go to the first, previous, next, last section, table of contents.