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


CNFSet -- Fuzzy set abstract base class

SYNOPSIS

#include <CNCL/FSet.h>

TYPE

CN_FSET

BASE CLASSES

CNNamed

DERIVED CLASSES

None

RELATED CLASSES

None

DESCRIPTION

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);
Initializes a 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;
Gets the membership values for x.
virtual double center_of_gravity(double min, double max) const;
Computes the center of gravity for the defuzzyfication. (not implemented yet)


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