/
12. Fuzzy reasoning

12. Fuzzy reasoning

Fuzzy Reasoning

Description

Class supporting operation on fuzzy sets with trapezoid and triangle shapes. Supported sets of first and second type.

Fuzzy reasoning XML Specification

Fuzzy set main parameters:

   scale LINEAR or LOGARITHMIC

   type - set type (FIRST or SECOND)

   length - distance between the points that characterize the lower and upper membership functions

   prob lower limit for fuzzy set

Trapezoid

   a, b, c and - trapezoid parameters

Fig 1. Trapezoid parameters

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<paramTrapezoid>
    <scale>LINEAR</scale>
    <type>SECOND</type>
    <a>0.1</a>
    <b>0.2</b>
    <c>0.3</c>
    <d>0.4</d>
    <length>0.04</length>
    <prob>0.05</prob>
</paramTrapezoid>

Triangle

   a, b and c -  triangle parameters

Class diagram