A fuzzy logic C++ library
|
This file contains some common stuff for the library. More...
#include <cstdio>
#include <iostream>
#include <iomanip>
Defines | |
#define | SLIFIS_FUNCTION __PRETTY_FUNCTION__ |
Private macro, needed because VC compiler don't now the (great) __PRETTY_FUNCTION__ macro. | |
#define | SLIFIS_LOG std::cerr |
#define | SLIFIS_STAMP_S(f) |
A macro for printing current information in a file stream. | |
#define | SLIFIS_STAMP_F(f) |
A macro for printing current information in a FILE f . | |
#define | SLIFIS_P_RUNTIME "[" << std::setfill('0') << std::setw(6) << clock()/1000 << "]: " |
private, current execution time on stderr, no line feed. | |
#define | SLIFIS_PRINT_RUNTIME SLIFIS_LOG << "slifis " << SLIFIS_P_RUNTIME |
Prints the current execution time in log, no line feed. | |
#define | SLIFIS_P_PRINT_RUNTIME SLIFIS_LOG << SLIFIS_P_RUNTIME |
private version, prints the current execution time in log, no line feed, but without id string | |
#define | SLIFIS_DEBUG_LOG if(0) SLIFIS_LOG |
logging macro, is turned on/off by depending on DO_LOGGING symbol | |
#define | SLIFIS_ERROR_LOG SLIFIS_PRINT_RUNTIME << "error in " << __FUNCTION__ << "(), file " << __FILE__ << "(" << __LINE__ << "): " |
#define | SLIFIS_PRINT_COUT_ERROR_MSG std::cout << "slifis: an error occured, please check stderr file" << std::endl |
End of line, no flushing. | |
#define | SLIFIS_ERR_INFO(a) |
private macro, used in error handling. Do not use | |
#define | SLIFIS_PRINT_LINE SLIFIS_LOG << "----------------------------\n" |
#define | SLIFIS_P_WARNING |
Private macro, don't use in user code. | |
#define | SLIFIS_WARNING(a) |
Warning macro, used for non-fatal errors. Argument a can be anything, usually an explicit message. | |
#define | SLIFIS_WARNING_1(a, b) |
Warning macro, used for non-fatal errors. Arguments a is usually an explicit message, and b can be anything that can be streamed. | |
#define | SLIFIS_WARNING_2(a, b, c) |
Warning macro, used for non-fatal errors. Arguments a usually an explicit message, and b and c can be anything that can be streamed. | |
#define | __IN__ ; |
#define | __OUT__ ; |
#define | SLIFIS_OPERATOR_DIFF(TYPE) |
A macro for operator !=, that is written always the same way... Usage: put this in the class declaration. |
This file contains some common stuff for the library.
#define SLIFIS_FUNCTION __PRETTY_FUNCTION__ |
Private macro, needed because VC compiler don't now the (great) __PRETTY_FUNCTION__ macro.
#define SLIFIS_LOG std::cerr |
Referenced by slifis::DATASET_PROPERTIES::P_ComputeProps().
#define SLIFIS_STAMP_S | ( | f | ) |
{ \ f << "# Generated on " << GetNow_String() \ << "# by SLIFIS library version " << SLIFIS::GetVersion_String() \ << ", build date: " << __DATE__ \ << ENDL; \ }
A macro for printing current information in a file stream.
Referenced by slifis::RULE_BASE::ExportCSV(), slifis::SLIFIS::Generate3DPlot(), slifis::FUZZY_ROOT::GenerateHistogramDataFile(), slifis::SLIFIS::GenerateHistogramFile(), slifis::GNUPLOT_FILE::GNUPLOT_FILE(), main(), and slifis::PrintBuildInfo().
#define SLIFIS_STAMP_F | ( | f | ) |
{ \ fprintf( f, "# Generated file, do not edit !\n" ); \ fprintf( f, "# This file was generated by SLIFIS library (version %s) on %s\n", SLIFIS::GetVersion_String(), GetNow_String() ); \ }
A macro for printing current information in a FILE f
.
Referenced by slifis::SLIFIS::Print().
#define SLIFIS_P_RUNTIME "[" << std::setfill('0') << std::setw(6) << clock()/1000 << "]: " |
private, current execution time on stderr, no line feed.
#define SLIFIS_PRINT_RUNTIME SLIFIS_LOG << "slifis " << SLIFIS_P_RUNTIME |
Prints the current execution time in log, no line feed.
#define SLIFIS_P_PRINT_RUNTIME SLIFIS_LOG << SLIFIS_P_RUNTIME |
private version, prints the current execution time in log, no line feed, but without id string
#define SLIFIS_DEBUG_LOG if(0) SLIFIS_LOG |
logging macro, is turned on/off by depending on DO_LOGGING symbol
Basics: if 0, then the compiler will optimize the code and NOT compile what's after "if(0)"
Referenced by slifis::RULE_BASE::AddNewRule(), slifis::SLIFIS::AddRule(), slifis::SLIFIS::BuildRuleBaseFromData(), slifis::SLIFIS::BuildTSRulesFromValues(), slifis_plot::PLOT_RB_2D::Draw(), slifis::MEMBFUNC::Fuzzify(), slifis::RULE_IDX::GetRuleFiringStrength(), slifis::DATA_POINT::GetValue(), main(), slifis::SLIFIS::P_Evaluate_M(), slifis::SLIFIS::P_Evaluate_TS(), slifis::RULE_BASE::P_FactorizeBy(), slifis::P_FIP_OneSide(), slifis::MEMBFUNC::P_PointIsTooClose(), slifis::MEMBFUNC::P_RemoveUselessPoints(), slifis::RULE_BASE::P_SelectBestRule(), slifis::DATA_POINT::ReadDataFields(), and slifis::SLIFIS::SetInputValues().
#define SLIFIS_ERROR_LOG SLIFIS_PRINT_RUNTIME << "error in " << __FUNCTION__ << "(), file " << __FILE__ << "(" << __LINE__ << "): " |
Referenced by slifis::SLIFIS::AddRule(), slifis::DATAFILE_INFO::AssignDataDescription(), slifis::FUZZY_ROOT::FindBestMf(), slifis::SLIFIS::Generate3DPlot(), slifis::INPUT_RANGE::GetCurrentValue(), slifis::DATAFILE_INFO::GetDescription(), slifis::DATAFILE_INFO::GetPostReadingDescr(), slifis::GetTypeFromFilename(), slifis::SLIFIS::IsValid(), slifis_plot::GRID::P_Check(), slifis::RULE_BASE::P_FindBestMf(), slifis::DATAFILE_INFO::P_GetFileInfo_csv(), slifis::MEMBFUNC::P_PointIsTooClose(), slifis::RULE_BASE::P_Read_bin(), slifis::SLIFIS::P_Read_bin(), slifis::FPOINT::P_Read_XML(), slifis::FUZZY_ROOT::P_Read_XML(), slifis::RULE_BASE::P_Read_XML(), slifis::RULE_IDX::P_Read_XML(), slifis::MEMBFUNC::P_Read_XML(), slifis::SLIFIS::P_Read_XML(), slifis::ROOT_RULE::P_Write_bin(), slifis::SLIFIS::P_Write_FCL(), slifis::FUZZY_ROOT::P_Write_XML(), slifis::RULE_BASE::P_Write_XML(), slifis::SLIFIS::P_Write_XML(), slifis::RULE_BASE::rbIsValid(), slifis::SLIFIS::Read(), slifis::DATA_SET::ReadData(), slifis::DATA_POINT::ReadDataFields(), slifis_plot::PLOT_RB_2D::SelectBox(), slifis::MEMBFUNC::Set(), slifis_plot::PLOT::Show(), and slifis::SLIFIS::Write().
#define SLIFIS_PRINT_COUT_ERROR_MSG std::cout << "slifis: an error occured, please check stderr file" << std::endl |
End of line, no flushing.
A shorthand for std::endl Prints a information message on stdout/cout to warn user about a fatal error
#define SLIFIS_ERR_INFO | ( | a | ) |
a << " - function: " << SLIFIS_FUNCTION << ENDL; \ a << " - file: " << __FILE__ << ENDL; \ a << " - line: " << __LINE__ << ENDL
private macro, used in error handling. Do not use
#define SLIFIS_PRINT_LINE SLIFIS_LOG << "----------------------------\n" |
#define SLIFIS_P_WARNING |
SLIFIS_PRINT_LINE; \ SLIFIS_PRINT_RUNTIME; \ SLIFIS_LOG << "WARNING:\n"; \ SLIFIS_ERR_INFO( SLIFIS_LOG ); \
Private macro, don't use in user code.
#define SLIFIS_WARNING | ( | a | ) |
{ \
SLIFIS_P_WARNING; \
SLIFIS_LOG << " - message: " << (a) << ENDL; \
SLIFIS_PRINT_LINE; \
}
Warning macro, used for non-fatal errors. Argument a
can be anything, usually an explicit message.
Referenced by slifis::INPUT_SETS::AddMf(), slifis::RULE_BASE::AddNewRule(), slifis::SLIFIS::AddRule(), slifis_plot::PLOT_RB_2D::Draw(), slifis_plot::PLOT_FUZZY::Draw(), DrawDefuzz(), slifis::RULE_BASE::Factorize(), slifis::FUZZY_ROOT::FindBestMf(), slifis_plot::GAPI_SaveImage(), slifis_plot::GAPI_ShowImage(), slifis::SLIFIS::GenerateHistogramFile(), slifis_plot::PLOT_FS::P_ComputeScale(), slifis_plot::PLOT_MF::P_ComputeScale(), slifis::SLIFIS::P_Evaluate_M(), slifis::SLIFIS::P_Evaluate_TS(), slifis::RULE_BASE::P_FindBestMf(), slifis::SLIFIS::P_Read_bin(), slifis::SLIFIS::P_Write_bin(), slifis::RB_TABLE::Print(), slifis::RULE_BASE::PrintTable(), slifis::SLIFIS::ReduceRuleBase(), slifis_plot::PLOT::Save(), slifis_plot::PLOT_RB_2D::SelectBox(), and slifis_plot::PLOT::Show().
#define SLIFIS_WARNING_1 | ( | a, | |
b | |||
) |
{ \ SLIFIS_P_WARNING; \ SLIFIS_LOG << " - message: " << (a) << ": " << (b) << ENDL; \ SLIFIS_PRINT_LINE; \ }
Warning macro, used for non-fatal errors. Arguments a
is usually an explicit message, and b
can be anything that can be streamed.
Referenced by slifis::INPUT_SETS::AddMf(), slifis::FUZZY_ROOT::AddMf(), slifis::SLIFIS::AddRule(), slifis::RB_TABLE::Compute(), slifis::MEMBFUNC::Defuzzify(), slifis_plot::PLOT_RB_2D::Draw(), slifis::RULE_BASE::ExportCSV(), slifis::FUZZY_ROOT::FindBestMf(), slifis_plot::GAPI_AssignCallback(), slifis_plot::GAPI_CreateImage(), slifis_plot::GAPI_CreateWindow(), slifis_plot::GAPI_MoveWindow(), slifis_plot::GAPI_ShowImage(), slifis_plot::generic_mouse_callback(), slifis::SLIFIS::GetInputCoeffVar(), slifis::GNUPLOT_FILE::GNUPLOT_FILE(), slifis_plot::PLOT_FS::P_ComputeScale(), slifis_plot::PLOT_MF::P_ComputeScale(), slifis_plot::PLOT_FUZZY::P_DrawMembFunc(), slifis::RULE_BASE::P_FindBestMf(), slifis::SLIFIS::P_Read_bin(), slifis::SLIFIS::P_Write_bin(), slifis::SLIFIS::Print(), slifis::DATA_POINT::ReadDataFields(), slifis_plot::PLOT::Save(), slifis_plot::PLOT_RB_TEXT::SelectOutput(), and slifis::MEMBFUNC::Set().
#define SLIFIS_WARNING_2 | ( | a, | |
b, | |||
c | |||
) |
{ \ SLIFIS_P_WARNING; \ SLIFIS_LOG << " - message: " << (a) << ":\n -first value=" << (b) << "\n -second value=" << (c) << ENDL; \ SLIFIS_PRINT_LINE; \ }
Warning macro, used for non-fatal errors. Arguments a
usually an explicit message, and b
and c
can be anything that can be streamed.
Referenced by slifis_plot::GAPI_CreateImage(), slifis::SLIFIS::GetInputCoeffVar(), and slifis::DATA_POINT::ReadDataFields().
#define __IN__ ; |
Referenced by slifis::RULE::AddCondition(), slifis::SLIFIS::AddInput(), slifis::DATA_DESCR::AddInputColumn(), slifis::SLIFIS::AddInputMf(), slifis::INPUT_SETS::AddMf(), slifis::FUZZY_ROOT::AddMf(), slifis::RULE_BASE::AddNewRule(), slifis::SLIFIS::AddOutputMf(), slifis::MEMBFUNC::AddPoint(), slifis::RULE_BASE::AddRule(), slifis::SLIFIS::AddRule(), slifis::SLIFIS::AddRuleFromValues(), slifis::DATA_SET::AddStringItem(), slifis::RULE_IDX::AddTerm(), slifis::DATA_POINT::AddValue(), slifis::INPUT_SETS::AreValid(), slifis::DATA_SET::AssignDescription(), slifis::SLIFIS::BuildRuleBaseFromData(), slifis::SLIFIS::BuildTSRulesFromValues(), slifis::MEMBFUNC::Cleanup(), slifis::RULE::ClearConditions(), slifis::DATAFILE_INFO::CloseFile(), slifis::MEMBFUNC::Complement(), slifis::RB_TABLE::Compute(), slifis::DATA_DESCR::ComputeIndexesAfterLoading(), slifis::MEMBFUNC::Defuzzify(), slifis::INPUT_SETS::DeleteAllMf(), slifis::SLIFIS::DeleteInput(), slifis::SLIFIS::DeleteInputMf(), slifis::INPUT_SETS::DeleteMf(), slifis::FUZZY_ROOT::DeleteMf(), slifis::SLIFIS::DeleteOutputMf(), slifis::MEMBFUNC::DeletePoint(), slifis::RULE_BASE::DeleteRule(), slifis::INPUT_SETS::DeleteSet(), slifis::DATA_SET::DivideSet(), slifis_plot::PLOT_RB_2D::Draw(), slifis_plot::PLOT_FUZZY::Draw(), slifis_plot::PLOT_RB_TEXT::Draw(), DrawDefuzz(), slifis_plot::GRID::DrawGrid(), slifis_plot::PLOT_FS::DrawValue(), slifis_plot::PLOT_MF::DrawValue(), slifis::RULE_BASE::ExportCSV(), slifis::RULE_BASE::Factorize(), slifis::SLIFIS::FactorizeRuleBase(), slifis_plot::GRID_CELL::Fill(), slifis::DATA_POINT::FillWithInputValues(), slifis::FUZZY_ROOT::FindBestMf(), slifis::INPUT_SETS::FindInputSet(), slifis::FUZZY_ROOT::FindMf(), slifis::MEMBFUNC::Fuzzify(), slifis::FUZZY_OUT::FUZZY_OUT(), slifis::FuzzyBSum(), slifis::FuzzyLukas(), slifis::FuzzyMax(), slifis::FuzzyMin(), slifis::FuzzyProduct(), slifis::FuzzyPSum(), slifis_plot::GAPI_FillImage(), slifis_plot::GAPI_ReleaseImage(), slifis_plot::GRID_CELL::GC_DrawText(), slifis::SLIFIS::Generate3DPlot(), slifis::FUZZY_ROOT::GenerateHistogramDataFile(), slifis::SLIFIS::GenerateHistogramFile(), slifis::DATAFILE_INFO::GetAttribName(), slifis_plot::GRID::GetCell(), slifis::INPUT_RANGE::GetCurrentValue(), slifis::DATA_SET::GetDataPoint(), slifis::DATA_POINT::GetDataType(), slifis::DATAFILE_INFO::GetDelimChar(), slifis::DATA_SET::GetFieldType(), slifis::DATAFILE_INFO::GetFieldType(), slifis::DATA_SET::GetFieldTypeIndexes(), slifis::DATAFILE_INFO::GetFileInfo(), slifis::DATAFILE_INFO::GetFileType(), slifis_plot::GetFiringStrengthVector(), slifis::DATAFILE_INFO::GetFirstNumeric(), slifis::MEMBFUNC::GetFirstPoint(), slifis::FUZZY_IN::GetFuzzyValue(), slifis::SLIFIS::GetFuzzyValue(), slifis::INPUT_SETS::GetIndexCombination(), slifis_plot::PLOT_RB::GetIndexCoordinates(), slifis::DATA_SET::GetInMMValue(), slifis::FUZZY_IN::GetInputFiringStrength(), slifis::DATA_DESCR::GetInputIndex(), slifis::RULE_BASE::GetInputSet(), slifis::INPUT_SETS::GetInputTriggerValues(), slifis::DATA_POINT::GetInputValue(), slifis::DATA_SET::GetInputValues(), slifis::MEMBFUNC::GetLastPoint(), slifis::DATASET_PROPERTIES::GetMaxValue(), slifis::FUZZY_ROOT::GetMf(), slifis::FUZZY_ROOT::GetMfName(), slifis::INPUT_SETS::GetMfSet(), slifis::DATASET_PROPERTIES::GetMinValue(), slifis::INPUT_SETS::GetName(), slifis::INPUT_SETS::GetNbCombinations(), slifis::DATAFILE_INFO::GetNbDataPts(), slifis::DATA_SET::GetNbFields(), slifis::RULE_BASE::GetNbInputs(), slifis::DATAFILE_INFO::GetNbNumericFields(), slifis::DATAFILE_INFO::GetNbStringFields(), slifis::DATA_DESCR::GetOutputIndex(), slifis::SLIFIS::GetOutputMf(), slifis::RULE_BASE::GetOutputSet(), slifis::RULE::GetOutputValue(), slifis::SLIFIS::GetOutputValue(), slifis::DATA_SET::GetOutValue(), slifis_plot::PLOT::GetPlotImage(), slifis::MEMBFUNC::GetPoint(), slifis::MEMBFUNC::GetPointsAtY(), slifis::DATA_SET::GetProperties(), slifis::MEMBFUNC::GetRange(), slifis_plot::GRID::GetRow(), slifis::RULE_BASE::GetRule(), slifis::RULE_IDX::GetRuleFiringStrength(), slifis_plot::PLOT_FUZZY::GetScale(), slifis::DATA_SET::GetStringCount(), slifis::DATA_SET::GetStringValue(), slifis::DATA_SET::GetSubset(), slifis::DATAFILE_INFO::GetTotNbFields(), slifis::ROOT_RULE::GetTSCoeff(), slifis::ROOT_RULE::GetTSOutputValue(), slifis::DATA_POINT::GetValue(), slifis::DATA_POINT::GetValue_f(), slifis::DATA_POINT::GetValue_s(), slifis::RULE::GetVarName(), slifis::RULE::GetVarValue(), slifis::GNUPLOT_FILE::GNUPLOT_FILE(), slifis::DATAFILE_INFO::HasAttribNames(), slifis::INPUT_RANGE::INPUT_RANGE(), slifis::FUZZY_ROOT::IsNormalised(), slifis::SLIFIS::IsValid(), slifis::MEMBFUNC::MEMBFUNC(), slifis::MEMBFUNC::ModifyPoint(), Mouse_CB(), Mouse_CB_rb_2D(), Mouse_CB_rb_text(), slifis::DATAFILE_INFO::OpenFile(), slifis::ROOT_RULE::operator=(), slifis::RULE_IDX::operator=(), slifis::FUZZY_ROOT::operator==(), slifis::MEMBFUNC::P_AddPoint(), slifis::P_AddPointIfInInterval(), slifis::DATA_POINT::P_AllocateIfNeeded(), slifis_plot::PLOT::P_ChangeSize(), slifis::MEMBFUNC::P_CheckForEmptyness(), slifis_plot::PLOT_FUZZY::P_ComputeMargins(), slifis_plot::PLOT_RB_TEXT::p_ComputePlotSize(), slifis_plot::GRID::P_ComputePos(), slifis::DATA_SET::p_ComputeProperties(), slifis::DATASET_PROPERTIES::P_ComputeProps(), slifis_plot::PLOT_FS::P_ComputeScale(), slifis_plot::PLOT_MF::P_ComputeScale(), slifis::RULE_BASE::P_ComputeUsedInputs(), slifis::RULE_BASE::P_CoversAllInputValues(), slifis::MEMBFUNC::P_Defuzz_COA(), slifis::MEMBFUNC::P_Defuzz_COG(), slifis::MEMBFUNC::P_Defuzz_MAX(), slifis_plot::PLOT_FUZZY::P_DrawAxis(), slifis_plot::PLOT_RB_2D::P_DrawFiringStrength(), slifis_plot::PLOT_RB_2D::P_DrawIndexes(), slifis_plot::PLOT_FUZZY::P_DrawMembFunc(), slifis_plot::PLOT_FS::P_DrawPlot(), slifis_plot::PLOT_MF::P_DrawPlot(), slifis_plot::PLOT_RB_TEXT::p_DrawSelection(), slifis_plot::PLOT_FUZZY::P_DrawVLine2Point(), slifis::SLIFIS::P_Evaluate_M(), slifis::SLIFIS::P_Evaluate_TS(), slifis::RULE_BASE::P_FactorizeBy(), slifis::DATAFILE_INFO::P_FetchArffCommands(), slifis::RULE_BASE::P_FindBestMf(), slifis::P_FindIntersectionPoints(), slifis::P_FindLowestFunction(), slifis::P_FIP_OneSide(), slifis::DATAFILE_INFO::P_GetFileInfo_arff(), slifis::DATAFILE_INFO::P_GetFileInfo_csv(), slifis::MEMBFUNC::P_GetIntervalPointsVector(), slifis::RULE_BASE::P_HaveSameOutput(), slifis_plot::PLOT_FS::P_InitColorSet(), slifis_plot::PLOT::P_InitDraw(), slifis::RULE_IDX::P_IsEqualUpToInput(), slifis::MEMBFUNC::P_MaxMinSearch(), slifis_plot::PLOT_RB_TEXT::P_PrintCell(), slifis::P_Process_OneSide(), slifis::P_ProcessPoints(), slifis::FPOINT::P_Read_bin(), slifis::INF_PARAMS::P_Read_bin(), slifis::ROOT_RULE::P_Read_bin(), slifis::FUZZY_ROOT::P_Read_bin(), slifis::RULE_BASE::P_Read_bin(), slifis::RULE_IDX::P_Read_bin(), slifis::MEMBFUNC::P_Read_bin(), slifis::SLIFIS::P_Read_bin(), slifis::FUZZY_ROOT::P_Read_XML(), slifis::RULE_BASE::P_Read_XML(), slifis::SLIFIS::P_Read_XML(), slifis::MEMBFUNC::P_RemoveDuplicates(), slifis::MEMBFUNC::P_RemoveUselessPoints(), slifis::RULE_BASE::P_SelectBestRule(), slifis::FUZZY_ROOT::P_SetIsValid(), slifis::FPOINT::P_Write_bin(), slifis::INF_PARAMS::P_Write_bin(), slifis::ROOT_RULE::P_Write_bin(), slifis::FUZZY_ROOT::P_Write_bin(), slifis::RULE_BASE::P_Write_bin(), slifis::RULE_IDX::P_Write_bin(), slifis::MEMBFUNC::P_Write_bin(), slifis::SLIFIS::P_Write_bin(), slifis::FUZZY_ROOT::P_Write_XML(), slifis::RULE_BASE::P_Write_XML(), slifis::SLIFIS::P_Write_XML(), slifis_plot::Paint(), slifis_plot::PLOT::PLOT(), slifis_plot::PLOT_FS::PLOT_FS(), slifis_plot::PLOT_FUZZY::PLOT_FUZZY(), slifis_plot::PLOT_MF::PLOT_MF(), slifis_plot::PLOT_RB::PLOT_RB(), slifis_plot::PLOT_RB_2D::PLOT_RB_2D(), slifis_plot::PLOT_RB_TEXT::PLOT_RB_TEXT(), slifis::DATASET_PROPERTIES::Print(), slifis::DATA_SET::Print(), slifis::DATA_DESCR::Print(), slifis::RULE_BASE::Print(), slifis::RULE_IDX::Print(), slifis::SLIFIS::Print(), slifis::DATA_POINT::Print(), slifis::RULE_BASE::Print2(), Process(), process_numeric(), slifis::RULE_BASE::rbIsValid(), slifis::SLIFIS::Read(), slifis::DATA_SET::ReadData(), slifis::DATA_POINT::ReadDataFields(), slifis::RULE_BASE::Reduce(), slifis::SLIFIS::ReduceRuleBase(), slifis::RULE_IDX::RemoveTermForInput(), slifis_plot::PLOT_RB::Resize(), slifis_plot::PLOT_FUZZY::Resize(), slifis::ROOT_RULE::ROOT_RULE(), slifis::RULE_IDX::RULE_IDX(), slifis_plot::PLOT::Save(), slifis::MEMBFUNC::Scale(), slifis_plot::PLOT_FS::SelectMf(), slifis::DATA_DESCR::Set(), slifis::MEMBFUNC::Set(), slifis_plot::GRID::SetColumnWidth(), slifis::RULE::SetConsequence(), slifis::ROOT_RULE::SetFisType(), slifis::DATA_DESCR::SetInputColumns(), slifis::SLIFIS::SetInputValue(), slifis::SLIFIS::SetInputValues(), slifis::FUZZY_OUT::SetIsValid(), slifis::MEMBFUNC::SetLeftValue(), slifis::FUZZY_ROOT::SetMfName(), slifis::FUZZY_ROOT::SetNormalisedSet(), slifis::ROOT_RULE::SetOpType(), slifis::RULE_IDX::SetOutMfIndex(), slifis::SLIFIS::SetOutput(), slifis::DATA_DESCR::SetOutputColumn(), slifis::MEMBFUNC::SetRightValue(), slifis_plot::GRID::SetRowHeight(), slifis_plot::GRID::SetSize(), slifis::FUZZY_ROOT::SetTriangularSet(), slifis::ROOT_RULE::SetTSCoeff(), slifis::ROOT_RULE::SetTSCoeffs(), slifis::DATA_POINT::SetValue(), slifis::MEMBFUNC::Shift(), Show(), slifis::RULE_BASE::Sort(), slifis_plot::PLOT_FUZZY::TransformCoordS2R(), slifis::FUZZY_ROOT::Trigger(), slifis::MEMBFUNC::Truncate(), slifis::SLIFIS::Write(), slifis_plot::PLOT::~PLOT(), slifis_plot::PLOT_FS::~PLOT_FS(), slifis_plot::PLOT_FUZZY::~PLOT_FUZZY(), slifis_plot::PLOT_RB::~PLOT_RB(), slifis_plot::PLOT_RB_2D::~PLOT_RB_2D(), and slifis_plot::PLOT_RB_TEXT::~PLOT_RB_TEXT().
#define __OUT__ ; |
Referenced by slifis::RULE::AddCondition(), slifis::SLIFIS::AddInput(), slifis::DATA_DESCR::AddInputColumn(), slifis::SLIFIS::AddInputMf(), slifis::INPUT_SETS::AddMf(), slifis::FUZZY_ROOT::AddMf(), slifis::RULE_BASE::AddNewRule(), slifis::SLIFIS::AddOutputMf(), slifis::MEMBFUNC::AddPoint(), slifis::RULE_BASE::AddRule(), slifis::SLIFIS::AddRule(), slifis::SLIFIS::AddRuleFromValues(), slifis::DATA_SET::AddStringItem(), slifis::RULE_IDX::AddTerm(), slifis::DATA_POINT::AddValue(), slifis::INPUT_SETS::AreValid(), slifis::SLIFIS::BuildRuleBaseFromData(), slifis::SLIFIS::BuildTSRulesFromValues(), slifis::MEMBFUNC::Cleanup(), slifis::RULE::ClearConditions(), slifis::DATAFILE_INFO::CloseFile(), slifis::MEMBFUNC::Complement(), slifis::RB_TABLE::Compute(), slifis::DATA_DESCR::ComputeIndexesAfterLoading(), slifis::MEMBFUNC::Defuzzify(), slifis::INPUT_SETS::DeleteAllMf(), slifis::SLIFIS::DeleteInput(), slifis::SLIFIS::DeleteInputMf(), slifis::INPUT_SETS::DeleteMf(), slifis::FUZZY_ROOT::DeleteMf(), slifis::SLIFIS::DeleteOutputMf(), slifis::MEMBFUNC::DeletePoint(), slifis::RULE_BASE::DeleteRule(), slifis::INPUT_SETS::DeleteSet(), slifis::DATA_SET::DivideSet(), slifis_plot::PLOT_RB_2D::Draw(), slifis_plot::PLOT_FUZZY::Draw(), slifis_plot::PLOT_RB_TEXT::Draw(), DrawDefuzz(), slifis_plot::GRID::DrawGrid(), slifis_plot::PLOT_FS::DrawValue(), slifis_plot::PLOT_MF::DrawValue(), slifis::RULE_BASE::ExportCSV(), slifis::RULE_BASE::Factorize(), slifis::SLIFIS::FactorizeRuleBase(), slifis_plot::GRID_CELL::Fill(), slifis::DATA_POINT::FillWithInputValues(), slifis::FUZZY_ROOT::FindBestMf(), slifis::INPUT_SETS::FindInputSet(), slifis::FUZZY_ROOT::FindMf(), slifis::MEMBFUNC::Fuzzify(), slifis::FUZZY_OUT::FUZZY_OUT(), slifis::FuzzyBSum(), slifis::FuzzyLukas(), slifis::FuzzyMax(), slifis::FuzzyMin(), slifis::FuzzyProduct(), slifis::FuzzyPSum(), slifis_plot::GAPI_FillImage(), slifis_plot::GAPI_ReleaseImage(), slifis_plot::GRID_CELL::GC_DrawText(), slifis::SLIFIS::Generate3DPlot(), slifis::FUZZY_ROOT::GenerateHistogramDataFile(), slifis::SLIFIS::GenerateHistogramFile(), slifis::DATAFILE_INFO::GetAttribName(), slifis_plot::GRID::GetCell(), slifis::INPUT_RANGE::GetCurrentValue(), slifis::DATA_SET::GetDataPoint(), slifis::DATA_POINT::GetDataType(), slifis::DATAFILE_INFO::GetDelimChar(), slifis::DATA_SET::GetFieldType(), slifis::DATAFILE_INFO::GetFieldType(), slifis::DATA_SET::GetFieldTypeIndexes(), slifis::DATAFILE_INFO::GetFileInfo(), slifis::DATAFILE_INFO::GetFileType(), slifis_plot::GetFiringStrengthVector(), slifis::DATAFILE_INFO::GetFirstNumeric(), slifis::MEMBFUNC::GetFirstPoint(), slifis::FUZZY_IN::GetFuzzyValue(), slifis::SLIFIS::GetFuzzyValue(), slifis::INPUT_SETS::GetIndexCombination(), slifis_plot::PLOT_RB::GetIndexCoordinates(), slifis::FUZZY_IN::GetInputFiringStrength(), slifis::DATA_DESCR::GetInputIndex(), slifis::RULE_BASE::GetInputSet(), slifis::INPUT_SETS::GetInputTriggerValues(), slifis::DATA_POINT::GetInputValue(), slifis::DATA_SET::GetInputValues(), slifis::MEMBFUNC::GetLastPoint(), slifis::DATASET_PROPERTIES::GetMaxValue(), slifis::FUZZY_ROOT::GetMf(), slifis::FUZZY_ROOT::GetMfName(), slifis::INPUT_SETS::GetMfSet(), slifis::DATASET_PROPERTIES::GetMinValue(), slifis::INPUT_SETS::GetName(), slifis::INPUT_SETS::GetNbCombinations(), slifis::DATAFILE_INFO::GetNbDataPts(), slifis::DATA_SET::GetNbFields(), slifis::RULE_BASE::GetNbInputs(), slifis::DATAFILE_INFO::GetNbNumericFields(), slifis::DATAFILE_INFO::GetNbStringFields(), slifis::DATA_DESCR::GetOutputIndex(), slifis::SLIFIS::GetOutputMf(), slifis::RULE_BASE::GetOutputSet(), slifis::RULE::GetOutputValue(), slifis::SLIFIS::GetOutputValue(), slifis::DATA_SET::GetOutValue(), slifis_plot::PLOT::GetPlotImage(), slifis::MEMBFUNC::GetPoint(), slifis::MEMBFUNC::GetPointsAtY(), slifis::DATA_SET::GetProperties(), slifis::MEMBFUNC::GetRange(), slifis_plot::GRID::GetRow(), slifis::RULE_BASE::GetRule(), slifis::RULE_IDX::GetRuleFiringStrength(), slifis_plot::PLOT_FUZZY::GetScale(), slifis::DATA_SET::GetStringCount(), slifis::DATA_SET::GetStringValue(), slifis::DATA_SET::GetSubset(), slifis::DATAFILE_INFO::GetTotNbFields(), slifis::ROOT_RULE::GetTSCoeff(), slifis::ROOT_RULE::GetTSOutputValue(), slifis::DATA_POINT::GetValue(), slifis::DATA_POINT::GetValue_f(), slifis::DATA_POINT::GetValue_s(), slifis::RULE::GetVarName(), slifis::RULE::GetVarValue(), slifis::GNUPLOT_FILE::GNUPLOT_FILE(), slifis::DATAFILE_INFO::HasAttribNames(), slifis::INPUT_RANGE::INPUT_RANGE(), slifis::FUZZY_ROOT::IsNormalised(), slifis::SLIFIS::IsValid(), slifis::MEMBFUNC::MEMBFUNC(), slifis::MEMBFUNC::ModifyPoint(), Mouse_CB(), Mouse_CB_rb_2D(), Mouse_CB_rb_text(), slifis::DATAFILE_INFO::OpenFile(), slifis::ROOT_RULE::operator=(), slifis::RULE_IDX::operator=(), slifis::FUZZY_ROOT::operator==(), slifis::MEMBFUNC::P_AddPoint(), slifis::P_AddPointIfInInterval(), slifis::DATA_POINT::P_AllocateIfNeeded(), slifis_plot::PLOT::P_ChangeSize(), slifis::MEMBFUNC::P_CheckForEmptyness(), slifis_plot::PLOT_FUZZY::P_ComputeMargins(), slifis_plot::PLOT_RB_TEXT::p_ComputePlotSize(), slifis_plot::GRID::P_ComputePos(), slifis::DATA_SET::p_ComputeProperties(), slifis::DATASET_PROPERTIES::P_ComputeProps(), slifis_plot::PLOT_FS::P_ComputeScale(), slifis_plot::PLOT_MF::P_ComputeScale(), slifis::RULE_BASE::P_ComputeUsedInputs(), slifis::RULE_BASE::P_CoversAllInputValues(), slifis::MEMBFUNC::P_Defuzz_COA(), slifis::MEMBFUNC::P_Defuzz_COG(), slifis::MEMBFUNC::P_Defuzz_MAX(), slifis_plot::PLOT_FUZZY::P_DrawAxis(), slifis_plot::PLOT_RB_2D::P_DrawFiringStrength(), slifis_plot::PLOT_RB_2D::P_DrawIndexes(), slifis_plot::PLOT_FUZZY::P_DrawMembFunc(), slifis_plot::PLOT_FS::P_DrawPlot(), slifis_plot::PLOT_MF::P_DrawPlot(), slifis_plot::PLOT_RB_TEXT::p_DrawSelection(), slifis_plot::PLOT_FUZZY::P_DrawVLine2Point(), slifis::SLIFIS::P_Evaluate_M(), slifis::SLIFIS::P_Evaluate_TS(), slifis::RULE_BASE::P_FactorizeBy(), slifis::DATAFILE_INFO::P_FetchArffCommands(), slifis::RULE_BASE::P_FindBestMf(), slifis::P_FindIntersectionPoints(), slifis::P_FindLowestFunction(), slifis::P_FIP_OneSide(), slifis::DATAFILE_INFO::P_GetFileInfo_arff(), slifis::DATAFILE_INFO::P_GetFileInfo_csv(), slifis::MEMBFUNC::P_GetIntervalPointsVector(), slifis::RULE_BASE::P_HaveSameOutput(), slifis_plot::PLOT_FS::P_InitColorSet(), slifis_plot::PLOT::P_InitDraw(), slifis::RULE_IDX::P_IsEqualUpToInput(), slifis::MEMBFUNC::P_MaxMinSearch(), slifis_plot::PLOT_RB_TEXT::P_PrintCell(), slifis::P_Process_OneSide(), slifis::P_ProcessPoints(), slifis::FPOINT::P_Read_bin(), slifis::INF_PARAMS::P_Read_bin(), slifis::ROOT_RULE::P_Read_bin(), slifis::FUZZY_ROOT::P_Read_bin(), slifis::RULE_BASE::P_Read_bin(), slifis::RULE_IDX::P_Read_bin(), slifis::MEMBFUNC::P_Read_bin(), slifis::SLIFIS::P_Read_bin(), slifis::FUZZY_ROOT::P_Read_XML(), slifis::RULE_BASE::P_Read_XML(), slifis::SLIFIS::P_Read_XML(), slifis::MEMBFUNC::P_RemoveDuplicates(), slifis::MEMBFUNC::P_RemoveUselessPoints(), slifis::RULE_BASE::P_SelectBestRule(), slifis::FUZZY_ROOT::P_SetIsValid(), slifis::FPOINT::P_Write_bin(), slifis::INF_PARAMS::P_Write_bin(), slifis::ROOT_RULE::P_Write_bin(), slifis::FUZZY_ROOT::P_Write_bin(), slifis::RULE_BASE::P_Write_bin(), slifis::RULE_IDX::P_Write_bin(), slifis::MEMBFUNC::P_Write_bin(), slifis::SLIFIS::P_Write_bin(), slifis::FUZZY_ROOT::P_Write_XML(), slifis::RULE_BASE::P_Write_XML(), slifis::SLIFIS::P_Write_XML(), slifis_plot::Paint(), slifis_plot::PLOT::PLOT(), slifis_plot::PLOT_FS::PLOT_FS(), slifis_plot::PLOT_FUZZY::PLOT_FUZZY(), slifis_plot::PLOT_MF::PLOT_MF(), slifis_plot::PLOT_RB::PLOT_RB(), slifis_plot::PLOT_RB_2D::PLOT_RB_2D(), slifis_plot::PLOT_RB_TEXT::PLOT_RB_TEXT(), slifis::DATASET_PROPERTIES::Print(), slifis::DATA_SET::Print(), slifis::DATA_DESCR::Print(), slifis::RULE_BASE::Print(), slifis::RULE_IDX::Print(), slifis::SLIFIS::Print(), slifis::DATA_POINT::Print(), slifis::RULE_BASE::Print2(), Process(), process_numeric(), slifis::RULE_BASE::rbIsValid(), slifis::SLIFIS::Read(), slifis::DATA_SET::ReadData(), slifis::DATA_POINT::ReadDataFields(), slifis::RULE_BASE::Reduce(), slifis::SLIFIS::ReduceRuleBase(), slifis::RULE_IDX::RemoveTermForInput(), slifis_plot::PLOT_RB::Resize(), slifis_plot::PLOT_FUZZY::Resize(), slifis::ROOT_RULE::ROOT_RULE(), slifis::RULE_IDX::RULE_IDX(), slifis_plot::PLOT::Save(), slifis::MEMBFUNC::Scale(), slifis_plot::PLOT_FS::SelectMf(), slifis::DATA_DESCR::Set(), slifis::MEMBFUNC::Set(), slifis_plot::GRID::SetColumnWidth(), slifis::RULE::SetConsequence(), slifis::ROOT_RULE::SetFisType(), slifis::DATA_DESCR::SetInputColumns(), slifis::SLIFIS::SetInputValue(), slifis::SLIFIS::SetInputValues(), slifis::FUZZY_OUT::SetIsValid(), slifis::MEMBFUNC::SetLeftValue(), slifis::FUZZY_ROOT::SetMfName(), slifis::FUZZY_ROOT::SetNormalisedSet(), slifis::ROOT_RULE::SetOpType(), slifis::RULE_IDX::SetOutMfIndex(), slifis::SLIFIS::SetOutput(), slifis::DATA_DESCR::SetOutputColumn(), slifis::MEMBFUNC::SetRightValue(), slifis_plot::GRID::SetRowHeight(), slifis_plot::GRID::SetSize(), slifis::FUZZY_ROOT::SetTriangularSet(), slifis::ROOT_RULE::SetTSCoeff(), slifis::ROOT_RULE::SetTSCoeffs(), slifis::DATA_POINT::SetValue(), slifis::MEMBFUNC::Shift(), Show(), slifis::RULE_BASE::Sort(), slifis_plot::PLOT_FUZZY::TransformCoordS2R(), slifis::FUZZY_ROOT::Trigger(), slifis::MEMBFUNC::Truncate(), slifis::SLIFIS::Write(), slifis_plot::PLOT::~PLOT(), slifis_plot::PLOT_FS::~PLOT_FS(), slifis_plot::PLOT_FUZZY::~PLOT_FUZZY(), slifis_plot::PLOT_RB::~PLOT_RB(), slifis_plot::PLOT_RB_2D::~PLOT_RB_2D(), and slifis_plot::PLOT_RB_TEXT::~PLOT_RB_TEXT().
#define SLIFIS_OPERATOR_DIFF | ( | TYPE | ) |
bool operator != ( const TYPE& m ) const \ { \ return !( *this == m ); \ }
A macro for operator !=, that is written always the same way... Usage: put this in the class declaration.