CustomizedFS Class Reference

A FuzzySet with an user defined mambership function. More...

#include <CustomizedFS.h>

Inheritance diagram for CustomizedFS:

FuzzySet RCObject CustomizedLT

List of all members.

Public Member Functions

 CustomizedFS (double(*userFunction)(double), double min, double max)
 Constructor.
void setMF (double(*userFunction)(double))
 Sets the membership function of the fuzzy set.
double getMin () const
 Returns the lower boundary of the support.
double getMax () const
 Returns the upper boundary of the support.


Detailed Description

A FuzzySet with an user defined mambership function.

This class implements a FuzzySet with an user definded membership function.

Definition at line 22 of file CustomizedFS.h.


Constructor & Destructor Documentation

CustomizedFS::CustomizedFS ( double(*)(double)  userFunction,
double  min,
double  max 
) [inline]

Constructor.

Parameters:
userFunction membership function defined by the user
min the min. value for which the membership function is nonzero (or exceeds a given threshold)
max the max. value for which the membership function is nonzero (or exceeds a given threshold)

Definition at line 34 of file CustomizedFS.h.


Member Function Documentation

double CustomizedFS::getMax (  )  const [inline, virtual]

Returns the upper boundary of the support.

Returns:
the max. value for which the membership function is nonzero (or exceeds a given threshold)

Implements FuzzySet.

Reimplemented in CustomizedLT.

Definition at line 64 of file CustomizedFS.h.

Referenced by CustomizedLT::getMax().

double CustomizedFS::getMin (  )  const [inline, virtual]

Returns the lower boundary of the support.

Returns:
the min. value for which the membership function is nonzero (or exceeds a given threshold)

Implements FuzzySet.

Reimplemented in CustomizedLT.

Definition at line 54 of file CustomizedFS.h.

Referenced by CustomizedLT::getMin().

void CustomizedFS::setMF ( double(*)(double)  userFunction  )  [inline]

Sets the membership function of the fuzzy set.

Parameters:
userFunction membership function defined by the user

Definition at line 44 of file CustomizedFS.h.


The documentation for this class was generated from the following file: