A fuzzy logic C++ library
Classes | Namespaces | Defines
fuzzytype.hpp File Reference

Defines the slifis::FUZZYVAL class, along with other stuff. More...

#include <cmath>
#include <ctime>
#include <iostream>
+ Include dependency graph for fuzzytype.hpp:
+ This graph shows which files directly or indirectly include this file:

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)

Detailed Description

Defines the slifis::FUZZYVAL class, along with other stuff.

This file is included in ALL OTHER FILES of the project


Define Documentation

#define SLIFIS_EPSILON_FUZZY   0.001
#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().