#include <Numeric.h>
Inheritance diagram for IRIS::Fuzzy::Numeric:
Public Types | |
typedef vector< double > | vector |
type for the vectorized form of this member function | |
Public Member Functions | |
Numeric () | |
create an empty membership function | |
Numeric (const string &name) | |
~Numeric () | |
destroy a membership function by releasing unneeded memory | |
double & | operator[] (unsigned i) |
sets the ith item in the vector of the member function | |
void | clear () |
clears out a membership function | |
virtual void | discretize (unsigned degree)=0 |
double | operator[] (unsigned i) const |
gets the ith item in the vector of the member function | |
vector | getVector () const |
virtual void | draw () const |
virtual double | eval (double x) const =0 |
virtual double | operator() (double val) const =0 |
void | setName (const string &name) |
void | set (const string &name) |
string | getName () const |
get the name of this set | |
void | get (string &name) const |
Protected Attributes | |
vector | x |
string | name |
|
type for the vectorized form of this member function
|
|
create an empty membership function
|
|
create an empty set with an associated name
|
|
destroy a membership function by releasing unneeded memory
|
|
clears out a membership function
Reimplemented in IRIS::Fuzzy::MembershipFn. |
|
discretize a membership function based on the given degree of discretization (number of elements in the vectorized form)
Implemented in IRIS::Fuzzy::BellMF, IRIS::Fuzzy::dSigMF, IRIS::Fuzzy::GaussMF, IRIS::Fuzzy::MembershipFn, IRIS::Fuzzy::pSigMF, IRIS::Fuzzy::SigMF, IRIS::Fuzzy::TrapMF, IRIS::Fuzzy::TriMF, and IRIS::Fuzzy::ZMF. |
|
draw this set to see what it looks like; included primarily for debugging purposes ... Implements IRIS::Fuzzy::Set. Reimplemented in IRIS::Fuzzy::BellMF, IRIS::Fuzzy::dSigMF, IRIS::Fuzzy::GaussMF, IRIS::Fuzzy::MembershipFn, IRIS::Fuzzy::pSigMF, IRIS::Fuzzy::SigMF, IRIS::Fuzzy::TrapMF, IRIS::Fuzzy::TriMF, and IRIS::Fuzzy::ZMF. |
|
evaluate a membership function based on the given x
Implemented in IRIS::Fuzzy::BellMF, IRIS::Fuzzy::dSigMF, IRIS::Fuzzy::GaussMF, IRIS::Fuzzy::MembershipFn, IRIS::Fuzzy::pSigMF, IRIS::Fuzzy::SigMF, IRIS::Fuzzy::TrapMF, IRIS::Fuzzy::TriMF, and IRIS::Fuzzy::ZMF. |
|
get the name of this set; same as getName()
|
|
get the name of this set
|
|
gets the vectorized form of a membership function based on the set level of discretization |
|
evaluate membership of the given value in this set
Implemented in IRIS::Fuzzy::BellMF, IRIS::Fuzzy::dSigMF, IRIS::Fuzzy::GaussMF, IRIS::Fuzzy::MembershipFn, IRIS::Fuzzy::pSigMF, IRIS::Fuzzy::SigMF, IRIS::Fuzzy::TrapMF, IRIS::Fuzzy::TriMF, and IRIS::Fuzzy::ZMF. |
|
gets the ith item in the vector of the member function
|
|
sets the ith item in the vector of the member function
|
|
set the name for this set; same as setName()
|
|
set the name for this set
|
|
|
|
|