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

The Norm class is the abstract class for norms. More...

#include <Norm.h>

Inheritance diagram for fl::Norm:
Collaboration diagram for fl::Norm:

Public Member Functions

 Norm ()
 
virtual ~Norm ()
 
virtual std::string className () const =0
 Returns the name of the class of the norm. More...
 
virtual Complexity complexity () const =0
 Computes the estimated complexity of computing the hedge. More...
 
virtual scalar compute (scalar a, scalar b) const =0
 Computes the norm for \(a\) and \(b\). More...
 
virtual Normclone () const =0
 Creates a clone of the norm. More...
 

Detailed Description

The Norm class is the abstract class for norms.

Author
Juan Rada-Vilela, Ph.D.
See also
TNorm
SNorm
TNormFactory
SNormFactory
Since
4.0

Definition at line 38 of file Norm.h.

Constructor & Destructor Documentation

◆ Norm()

fl::Norm::Norm ( )
inline

Definition at line 41 of file Norm.h.

◆ ~Norm()

virtual fl::Norm::~Norm ( )
inlinevirtual

Definition at line 44 of file Norm.h.

References FL_DEFAULT_COPY_AND_MOVE.

Member Function Documentation

◆ className()

virtual std::string fl::Norm::className ( ) const
pure virtual

◆ clone()

◆ complexity()

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

◆ compute()

virtual scalar fl::Norm::compute ( scalar  a,
scalar  b 
) const
pure virtual

Computes the norm for \(a\) and \(b\).

Parameters
ais a membership function value
bis a membership function value
Returns
the norm between \(a\) and \(b\)

Implemented in 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.


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