#include <Tnorm.h>
Inheritance diagram for IRIS::Fuzzy::Tnorm:
Public Member Functions | |
Tnorm (string name, double(*f)(double, double)) | |
Tnorm (const Tnorm &And) | |
virtual | ~Tnorm () |
Tnorm & | operator= (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 |
|
create and name a t-norm object
|
|
copy constructor
|
|
|
|
|
|
|
|
Reimplemented from IRIS::Fuzzy::Symbol. |
|
evaluates this t-norm based on the given arguments
|
|
gets the name of the symbol
|
|
overloaded operator() to evaluate this t-norm object
|
|
overloaded assignment operator
|
|
sets the name of the symbol
|
|
overloaded insertion operator
|
|
overloaded insertion operator
|
|
overloaded equality operator facilitate call using a member function
|
|
|
|
|