A fuzzy logic C++ library
|
Datatypes and other common stuff. More...
#include "fuzzytype.hpp"
#include "debug.h"
#include <cassert>
#include <fstream>
#include <sstream>
#include <vector>
#include "../other/tinyxml/tinyxml.h"
Namespaces | |
namespace | slifis |
This namespace includes all root classes, functions, and datatypes of the library. | |
Defines | |
#define | SLIFIS_EPSILON_REAL 0.0001 |
Epsilon value for relative comparing real values (see macro FLOAT_ARE_EQUAL() ) | |
Typedefs | |
typedef double | slifis::REALVAL |
Any real value. | |
typedef unsigned char | slifis::uchar |
Enumerations | |
enum | slifis::EN_FIS_TYPE { slifis::TYPE_MAMDANI = 0, slifis::TYPE_SUGENO } |
Type of FIS, stored in SLIFIS::_FisType. More... | |
enum | slifis::EN_DEFUZZMETHOD { slifis::DF_COG = 0, slifis::DF_COA, slifis::DF_MAX, slifis::DF_MEMAX, slifis::DF_WMEMAX, slifis::DF_DUMMY } |
Defuzzification method. More... | |
enum | slifis::EN_FF_TYPE { slifis::IO_BIN = 0, slifis::IO_XML, slifis::IO_FCL, slifis::IO_UNKNOWN } |
FIS File type (I/O format), see SLIFIS::Read() and SLIFIS::Write() More... | |
enum | slifis::EN_AUTO_FILE_FORMAT { slifis::AUTO_EXT_OFF = 0, slifis::AUTO_EXT_ON } |
enum used to add auto-format selection from filename when using SLIFIS::Read() and SLIFIS::Write() More... | |
enum | slifis::EN_FIS_CHECKING { slifis::EN_FIS_CHECKING_YES = 0, slifis::EN_FIS_CHECKING_NO } |
enum used for doing (or not doing) checking of fis validity upon reading. See SLIFIS::Read() More... | |
enum | slifis::EN_RULE_OP { slifis::OPR_AND = 0, slifis::OPR_OR } |
Type of aggregation of terms of a rule see RULE, ROOT_RULE, RULE_IDX. More... | |
enum | slifis::EN_MERGE_OP { slifis::OPM_MIN = 0, slifis::OPM_MAX, slifis::OPM_PRODUCT, slifis::OPM_BSUM, slifis::OPM_PSUM, slifis::OPM_LUKAS, slifis::OPM_INVALID } |
Type of merging operations, see Binary operations and FuzzyMerge() More... | |
enum | slifis::EN_TNORM { slifis::TN_MIN, slifis::TN_PROD, slifis::TN_LUKA } |
Available T-Norms, these map to slifis::EN_MERGE_OP. More... | |
enum | slifis::EN_SNORM { slifis::SN_MAX, slifis::SN_BSUM, slifis::SN_PSUM } |
Available S-Norms, these map to slifis::EN_MERGE_OP. More... | |
enum | slifis::EN_REDUCE_METHOD { slifis::REDM_HIGHEST = 0, slifis::REDM_HIGHEST_NBRULES, slifis::REDM_HIGHEST_SUM, slifis::REDM_DUMMY } |
Method used for reducing nb of rules, in a "learning rules from data" situation. More... |
Datatypes and other common stuff.
#define SLIFIS_EPSILON_REAL 0.0001 |
Epsilon value for relative comparing real values (see macro FLOAT_ARE_EQUAL() )
Referenced by slifis::MEMBFUNC::AlphaCut(), slifis::MEMBFUNC::IsValid(), main(), and process_numeric().