IRIS::Fuzzy::Tnorm Class Reference

#include <Tnorm.h>

Inheritance diagram for IRIS::Fuzzy::Tnorm:

Inheritance graph
[legend]
Collaboration diagram for IRIS::Fuzzy::Tnorm:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Tnorm (string name, double(*f)(double, double))
 Tnorm (const Tnorm &And)
virtual ~Tnorm ()
Tnormoperator= (const Tnorm &And)
 overloaded assignment operator
double eval (double a, double b)
double operator() (double a, double b)
void setName (const string &name)
string getName () const
 gets the name of the symbol

Protected Member Functions

void _copy (const Tnorm &And)
void _destroy ()
void _copy (const Symbol &other)

Protected Attributes

double(* _function )(double, double)
string name

Friends

ostream & operator<< (ostream &outs, const Tnorm &And)
 overloaded insertion operator
bool operator== (const Symbol &a, const Symbol &b)
 overloaded equality operator
ostream & operator<< (ostream &outs, const Symbol &src)
 overloaded insertion operator

Detailed Description

Abstract class for a t-norm. A t-norm generalizes intersection in a lattice and AND in logic. The name derives from triangular norm, which refers to the fact that in the framework of probabilistic metric spaces t-norms are used to generalize triangle inequality of ordinary metric spaces.


Constructor & Destructor Documentation

IRIS::Fuzzy::Tnorm::Tnorm string  name,
double(*)(double, double)  f
 

create and name a t-norm object

Parameters:
name name to give this t-norm
f function that models this t-norm

IRIS::Fuzzy::Tnorm::Tnorm const Tnorm And  ) 
 

copy constructor

Parameters:
other source t-norm to copy from

IRIS::Fuzzy::Tnorm::~Tnorm  )  [virtual]
 


Member Function Documentation

void IRIS::Fuzzy::Symbol::_copy const Symbol other  )  [protected, inherited]
 

void IRIS::Fuzzy::Tnorm::_copy const Tnorm And  )  [protected]
 

void IRIS::Fuzzy::Tnorm::_destroy  )  [protected]
 

Reimplemented from IRIS::Fuzzy::Symbol.

double IRIS::Fuzzy::Tnorm::eval double  a,
double  b
[inline]
 

evaluates this t-norm based on the given arguments

Parameters:
a first parameter to t-norm
b second parameter to t-norm

string IRIS::Fuzzy::Symbol::getName  )  const [inherited]
 

gets the name of the symbol

double IRIS::Fuzzy::Tnorm::operator() double  a,
double  b
[inline]
 

overloaded operator() to evaluate this t-norm object

Parameters:
a first parameter to t-norm
b second parameter to t-norm

Tnorm & IRIS::Fuzzy::Tnorm::operator= const Tnorm And  ) 
 

overloaded assignment operator

void IRIS::Fuzzy::Symbol::setName const string &  name  )  [inherited]
 

sets the name of the symbol

Parameters:
name name to give this symbol


Friends And Related Function Documentation

ostream& operator<< ostream &  outs,
const Symbol src
[friend, inherited]
 

overloaded insertion operator

ostream& operator<< ostream &  outs,
const Tnorm And
[friend]
 

overloaded insertion operator

bool operator== const Symbol a,
const Symbol b
[friend, inherited]
 

overloaded equality operator

facilitate call using a member function

Parameters:
a first parameter to t-conorm
b second parameter to t-conorm


Member Data Documentation

double(* IRIS::Fuzzy::Tnorm::_function)(double, double) [protected]
 

string IRIS::Fuzzy::Symbol::name [protected, inherited]
 


The documentation for this class was generated from the following files:
Generated on Tue Dec 12 13:42:47 2006 for IRIS Intelligent Systems Tools by  doxygen 1.4.6