#include <CNCL/FSet.h>
CN_FSET
CNNamed
None
None
CNFSet
is the abstract base class for fuzzy set realizations.
Constructors:
CNFSet(CNParam *param);
CNFSet(double min = 0, double max = 1);
CNFSet(const CNStringR xname, double min = FSET_MIN, double max = FSET_MAX);
CNFSet
with xname
as the object's name.
min
and max
determine the range of the membership
values. FSET_MIN
equals 0.0, FSET_MAX
equals 1.0.
In addition to the member functions required by CNCL, CNFSet
provides:
virtual double get_membership(double x) const = 0;
x
.
virtual double center_of_gravity(double min, double max) const;
Go to the first, previous, next, last section, table of contents.