#include <FSet.h>
Inheritance diagram for CNFSet::

Public Methods | |
| 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. | |
| CNFSet (CNParam *param) | |
| Initializes CNFSet with CNParam. | |
| CNFSet (double min=0, double max=1) | |
| Default Constructor. | |
| CNFSet (CNStringR xname, double min=FSET_MIN, double max=FSET_MAX) | |
| Initializes a CNFSet with xname as the object's name. More... | |
| void | init (CNStringR name, double min=FSET_MIN, double max=FSET_MAX) |
| Initializes a CNFSet with name as the object's name. More... | |
| virtual CNClassDesc | class_desc () const |
| Returns the class description (pointer to instance of CNClass) for runtime type information. | |
| virtual bool | is_a (CNClassDesc desc) const |
| Checks Type. | |
| virtual void | print (ostream &strm=cout) const=0 |
| Print output. | |
| virtual void | dump (ostream &strm=cout) const=0 |
| Debug output. | |
Static Public Methods | |
| CNFSet * | cast_from_object (CNObject *obj) |
| Safes type Cast. | |
Protected Attributes | |
| double | ymin |
| Range of membership values. | |
| double | ymax |
| Range of membership values. | |
|
||||||||||||||||
|
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 |
|
||||||||||||||||
|
Initializes a CNFSet with name 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 |
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001