#include <Tconorm.h>
Inheritance diagram for IRIS::Fuzzy::Tconorm:
Public Member Functions | |
Tconorm (string name, double(*f)(double, double)) | |
Tconorm (const Tconorm &Or) | |
virtual | ~Tconorm () |
Tconorm & | operator= (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 |
|
create and name a t-conorm object
|
|
copy constructor
|
|
|
|
|
|
|
|
Reimplemented from IRIS::Fuzzy::Symbol. |
|
evaluates this t-conorm 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
|
|
|
|
|