#include <CNCL/FSetTrapez.h>
CN_FSETTRAPEZ
CNFSetLR
CNFSetTriangle
None
CNFSetTrapez
realizes a trapezium shaped membership function on
the base of an LR fuzzy set.
Constructors:
CNFSetTrapez()
CNFSetTrapez(CNParam *param);
CNFSetTrapez(double xm1, double xm2, double xalpha, double xbeta);
CNFSetTrapez(double min, double max, double xm1, double xm2, double xalpha, double xbeta);
CNFSetTrapez(CNStringR xname, double xm1, double xm2, double xalpha, double xbeta);
CNFSetTrapez(CNStringR xname, double min, double max, double xm1, double xm2,
double xalpha, double xbeta);
CNFSetTrapez
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 CNCL, CNFSetTrapez
provides:
virtual double get_membership(double x) const;
x
.
Go to the first, previous, next, last section, table of contents.