Go to the previous, next section.

## FlFSet -- Fuzzy set abstract base class

### SYNOPSIS

`#include <FuzzyLib/FSet.h>`

### TYPE

`Fl_FSET`

### BASE CLASSES

FlNamed

### DERIVED CLASSES

None

### RELATED CLASSES

None

### DESCRIPTION

`FlFSet` is the abstract base class for fuzzy set realizations.

Constructors:

`FlFSet(FlParam *param);`
`FlFSet(double min = 0, double max = 1);`
`FlFSet(const FlStringR xname, double min = FSET_MIN, double max = FSET_MAX);`
  Initializes a `FlFSet` 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 FuzzyLib, `FlFSet` 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 previous, next section.