home Forums # Technical Support What FCL version does Fuzzylite use? Reply To: What FCL version does Fuzzylite use?

#1016

FCL is defined only to use discrete terms, and anything additional to that is not an official extension to the FCL. fuzzylite covers the standard FCL, but also extends it with its set of terms and other properties such as locks (refer to the ). I think jFuzzyLogic covers the standard too, like fuzzylite, but also extends it in its own particular way. For example, in fuzzylite a Triangle term is expressed as Triangle (0.0, 1.0, 2.0) (parenthesis and commas are optional), whereas in jFuzzyLogic I think it is expressed as trian (0.0, 1.0, 2.0). The definition of a triangle in FCL is expressed as a set of discrete points as (0.0, 0.0) (1.0, 1.0) (2.0, 0.0), which you can do in fuzzylite using the Discrete term. Thus, fuzzylite and jFuzzyLogic extend the basic FCL in different ways that the official FCL did not cover, which renders the extensions of FCL incompatible between both libraries, but the basic FCL should be compatible.
In fuzzylite, the only difference from the standard FCL is that the accumulation method is defined within the Defuzzify block, whereas the standard FCL defines it within the RuleBlock. Such a difference is intentional and corresponds to the design of fuzzylite, which I could argue provides a better design. In addition, multiline comments (e.g. /* */) are not supported in fuzzylite.