FuzzyRelation Class Reference

A fuzzy relation. More...

#include <FuzzyRelation.h>

Inheritance diagram for FuzzyRelation:
Implication

List of all members.

Public Types

enum  Lambda { X, Y }
typedef double MuType (double, double)

Public Member Functions

 FuzzyRelation ()
virtual ~FuzzyRelation ()
 Default Constructor.
virtual double operator() (const std::vector< double > &v1, const std::vector< double > &v2) const =0
 Destructor.
virtual RCPtr< ComposedNDimFSoperator() (const std::vector< double > &v, Lambda lambda) const =0
 Calculates the relation with $y$ left as variable.
virtual RCPtr< ComposedNDimFSoperator() (Lambda lambda, const std::vector< double > &v) const =0
 Calculates the relation with $x$ left as variable.

Detailed Description

A fuzzy relation.

A virtual basis class. An Implication is a speciall kind of a fuzzy relation.

Definition at line 28 of file FuzzyRelation.h.


Member Typedef Documentation

typedef double FuzzyRelation::MuType(double, double)

Definition at line 32 of file FuzzyRelation.h.


Member Enumeration Documentation

Enumerator:
X 
Y 

Definition at line 31 of file FuzzyRelation.h.


Constructor & Destructor Documentation

FuzzyRelation::FuzzyRelation (  )  [inline]

Definition at line 34 of file FuzzyRelation.h.

virtual FuzzyRelation::~FuzzyRelation (  )  [inline, virtual]

Default Constructor.

Definition at line 35 of file FuzzyRelation.h.


Member Function Documentation

virtual RCPtr<ComposedNDimFS> FuzzyRelation::operator() ( Lambda  lambda,
const std::vector< double > &  v 
) const [pure virtual]

Calculates the relation with $x$ left as variable.

Parameters:
v the vector $(y_1,...y_m)$
lambda the variable z
Returns:
the value of the relation at $(x,(y_1,...,y_m))$

Implemented in Implication.

virtual RCPtr<ComposedNDimFS> FuzzyRelation::operator() ( const std::vector< double > &  v,
Lambda  lambda 
) const [pure virtual]

Calculates the relation with $y$ left as variable.

Parameters:
v the vector $(x_1,...,x_n)$
lambda the variable y
Returns:
the value of the relation at $((x_1,...,x_n),y)$

Implemented in Implication.

virtual double FuzzyRelation::operator() ( const std::vector< double > &  v1,
const std::vector< double > &  v2 
) const [pure virtual]

Destructor.

Calculates the result of the relation between the two input vectos (implemented by subclass).

Parameters:
v1 the vector $(x_1,...,x_n)$
v2 the vector $(y_1,...,y_m)$
Returns:
the value of the relation at $((x_1,...,x_n),(y_1,...,y_m))$

Implemented in Implication.


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