IRIS::Fuzzy::Tconorm Class Reference

#include <Tconorm.h>

Inheritance diagram for IRIS::Fuzzy::Tconorm:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Tconorm (string name, double(*f)(double, double))
 Tconorm (const Tconorm &Or)
virtual ~Tconorm ()
Tconormoperator= (const Tconorm &Or)
 overloaded assignment operator
virtual double eval (double a, double b)
virtual 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 Tconorm &Or)
void _destroy ()
void _copy (const Symbol &other)

Protected Attributes

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

Friends

ostream & operator<< (ostream &outs, const Tconorm &Or)
 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-conorm. A t-conorm (or S-norm) is a dual to a t-norm. A t-conorm generalizes union in a lattice and OR in logic.


Constructor & Destructor Documentation

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

create and name a t-conorm object

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

IRIS::Fuzzy::Tconorm::Tconorm const Tconorm Or  ) 
 

copy constructor

Parameters:
other source t-conorm to copy from

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


Member Function Documentation

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

void IRIS::Fuzzy::Tconorm::_copy const Tconorm Or  )  [protected]
 

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

Reimplemented from IRIS::Fuzzy::Symbol.

virtual double IRIS::Fuzzy::Tconorm::eval double  a,
double  b
[inline, virtual]
 

evaluates this t-conorm based on the given arguments

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

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

gets the name of the symbol

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

overloaded operator() to evaluate this t-norm object

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

Tconorm & IRIS::Fuzzy::Tconorm::operator= const Tconorm Or  ) 
 

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 Tconorm Or
[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::Tconorm::_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:44 2006 for IRIS Intelligent Systems Tools by  doxygen 1.4.6