The Hedge class is the abstract class for hedges. More...
#include <Hedge.h>
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 Hedge * | clone () const =0 |
Creates a clone of the hedge. More... | |
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.
|
inlinevirtual |
Definition at line 46 of file Hedge.h.
References FL_DEFAULT_COPY_AND_MOVE.
|
pure virtual |
Creates a clone of the hedge.
Implemented in fl::FL_IFINAL, fl::FL_IFINAL, fl::FL_IFINAL, fl::Any, fl::FL_IFINAL, fl::FL_IFINAL, fl::FL_IFINAL, fl::FL_IFINAL, fl::FL_IFINAL, fl::FL_IFINAL, fl::FL_IFINAL, fl::FL_IFINAL, fl::FL_IFINAL, fl::FL_IFINAL, fl::FL_IFINAL, fl::FL_IFINAL, fl::FL_IFINAL, fl::FL_IFINAL, fl::FL_IFINAL, fl::FL_IFINAL, fl::FL_IFINAL, fl::FL_IFINAL, fl::FL_IFINAL, fl::FL_IFINAL, and fl::FL_IFINAL.
|
pure virtual |
Computes the estimated complexity of applying the hedge.
Implemented in fl::FL_IFINAL, fl::FL_IFINAL, fl::FL_IFINAL, fl::Any, fl::FL_IFINAL, fl::FL_IFINAL, fl::FL_IFINAL, fl::FL_IFINAL, fl::FL_IFINAL, fl::FL_IFINAL, fl::FL_IFINAL, fl::FL_IFINAL, fl::FL_IFINAL, fl::FL_IFINAL, fl::FL_IFINAL, fl::FL_IFINAL, fl::FL_IFINAL, fl::FL_IFINAL, fl::FL_IFINAL, fl::FL_IFINAL, fl::FL_IFINAL, fl::FL_IFINAL, fl::FL_IFINAL, fl::FL_IFINAL, and fl::FL_IFINAL.
Computes the hedge for the membership function value \(x\).
x | is a membership function value |
Implemented in fl::FL_IFINAL, fl::Any, fl::FL_IFINAL, fl::FL_IFINAL, fl::FL_IFINAL, fl::FL_IFINAL, and fl::FL_IFINAL.
|
pure virtual |
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.