A fuzzy logic C++ library
|
Defines the slifis::FUZZYVAL class, along with other stuff. More...
#include <cmath>
#include <ctime>
#include <iostream>
Classes | |
class | slifis::FUZZYVAL |
A class for a fuzzy value [0-1]. More... | |
Namespaces | |
namespace | slifis |
This namespace includes all root classes, functions, and datatypes of the library. | |
Defines | |
#define | SLIFIS_EPSILON_FUZZY 0.001 |
Epsilon value for fuzzy values. | |
#define | SLIFIS_STREAM_OP(a) std::ostream& operator << ( std::ostream& Stream, const a& obj ) |
A macro for declaring and defining the overloading of stream injection operator (<<) | |
#define | SLIFIS_MAXMFPERSET (size_t)30 |
Maximum nb of function per set, can be adapted to situation (only checked to avoid unreasonable values when an error happens) |
Defines the slifis::FUZZYVAL class, along with other stuff.
This file is included in ALL OTHER FILES of the project
#define SLIFIS_EPSILON_FUZZY 0.001 |
Epsilon value for fuzzy values.
Referenced by slifis::FUZZYVAL::IsOne(), slifis::MEMBFUNC::IsValid(), slifis::FUZZYVAL::IsZero(), slifis::FPOINT::operator==(), slifis::FUZZYVAL::operator==(), and slifis::MEMBFUNC::P_CheckForEmptyness().
#define SLIFIS_STREAM_OP | ( | a | ) | std::ostream& operator << ( std::ostream& Stream, const a& obj ) |
A macro for declaring and defining the overloading of stream injection operator (<<)
The passed object will have name obj
#define SLIFIS_MAXMFPERSET (size_t)30 |
Maximum nb of function per set, can be adapted to situation (only checked to avoid unreasonable values when an error happens)
Referenced by slifis::FUZZY_ROOT::SetNormalisedSet(), and slifis::FUZZY_ROOT::SetTriangularSet().