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.

TNorm
SNorm
TNormFactory
SNormFactory
Since
4.0

Definition at line 38 of file Norm.h.

## ◆ 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.

## ◆ className()

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

Returns the name of the class of the norm.

Returns
the name of the class of the norm

## ◆ clone()

 virtual Norm* fl::Norm::clone ( ) const
pure virtual

Creates a clone of the norm.

Returns
a clone of the norm

## ◆ complexity()

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

Computes the estimated complexity of computing the hedge.

Returns
the complexity of computing the hedge

## ◆ compute()

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

Computes the norm for $$a$$ and $$b$$.

Parameters
 a is a membership function value b is a membership function value
Returns
the norm between $$a$$ and $$b$$

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