libcrn
3.9.5
A document image processing library
|
Fuzzy logic toolbox. More...
Functions | |
RealToRealFunction | MakeCompatibility (const RealToRealFunction &f, const RealToRealFunction &g, size_t nbBins) |
Computes the compatibility function between a regular function and a approximated function. More... | |
double | DefuzzificationCOG (double min, double max, const RealToRealFunction &f) |
Defuzzification over an interval using center of gravity method. More... | |
Fuzzy logic toolbox.
Tools for fuzzy logic
double crn::FuzzyLogic::DefuzzificationCOG | ( | double | min, |
double | max, | ||
const RealToRealFunction & | f | ||
) |
Defuzzification over an interval using center of gravity method.
Defuzzification over an interval using center of gravity method
[in] | min | beginning of the interval |
[in] | max | end of the interval |
[in] | f | a truth function |
Definition at line 79 of file CRNFuzzyLogic.cpp.
RealToRealFunction crn::FuzzyLogic::MakeCompatibility | ( | const RealToRealFunction & | f, |
const RealToRealFunction & | g, | ||
size_t | nbBins | ||
) |
Computes the compatibility function between a regular function and a approximated function.
Compute the compatibility function between a regular function and a approximated function
[in] | f | the regular function |
[in] | g | the approximated function |
[in] | nbBins | the number of slices in resulting function |
Definition at line 36 of file CRNFuzzyLogic.cpp.