fuzzylite  6.0
A Fuzzy Logic Control Library in C++
fl::Hedge Class Referenceabstract

The Hedge class is the abstract class for hedges. More...

#include <Hedge.h>

Inheritance diagram for fl::Hedge:
Collaboration diagram for fl::Hedge:

Public Member Functions

 Hedge ()
 
virtual ~Hedge ()
 
virtual std::string name () const =0
 Returns the name of the hedge. More...
 
virtual Complexity complexity () const =0
 Computes the estimated complexity of applying the hedge. More...
 
virtual scalar hedge (scalar x) const =0
 Computes the hedge for the membership function value \(x\). More...
 
virtual Hedgeclone () const =0
 Creates a clone of the hedge. More...
 

Detailed Description

The Hedge class is the abstract class for hedges.

Hedges are utilized within the Antecedent and Consequent of a Rule in order to modify the membership function of a linguistic Term.

Author
Juan Rada-Vilela, Ph.D.
See also
Antecedent
Consequent
Rule
HedgeFactory
Since
4.0

Definition at line 40 of file Hedge.h.

Constructor & Destructor Documentation

◆ Hedge()

fl::Hedge::Hedge ( )
inline

Definition at line 43 of file Hedge.h.

◆ ~Hedge()

virtual fl::Hedge::~Hedge ( )
inlinevirtual

Definition at line 46 of file Hedge.h.

References FL_DEFAULT_COPY_AND_MOVE.

Member Function Documentation

◆ clone()

◆ complexity()

virtual Complexity fl::Hedge::complexity ( ) const
pure virtual

◆ hedge()

virtual scalar fl::Hedge::hedge ( scalar  x) const
pure virtual

Computes the hedge for the membership function value \(x\).

Parameters
xis a membership function value
Returns
the hedge of \(x\)

Implemented in fl::FL_IFINAL, fl::Any, fl::FL_IFINAL, fl::FL_IFINAL, fl::FL_IFINAL, fl::FL_IFINAL, and fl::FL_IFINAL.

◆ name()

virtual std::string fl::Hedge::name ( ) const
pure virtual

Returns the name of the hedge.

Returns
the name of the hedge

Implemented in fl::FL_IFINAL, fl::Any, fl::FL_IFINAL, fl::FL_IFINAL, fl::FL_IFINAL, fl::FL_IFINAL, and fl::FL_IFINAL.


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