










page :
1  Object  
lv1  Javascript (js) 

linguistic variable object for fuzzy logic 
Library  
FuzzyLib


When manipulating human knowledge such as perception, feelings, appreciation, veracity of facts, etc., the classical logic that recognize only two truth degrees (true or false) is not always the most suitable.
To solve this problem, more than two degrees are considered in the nonclassical logics. The fuzzy logic is one of these logics.
In this logic, facts are represented through membership functions: when the membership value is equal to 1 the fact is exactly true; when it is equal to 0 the fact is exactly false; in between there is an uncertainty about the veracity of the fact.
These membership functions are called "fuzzy subsets". They can be of different shapes: gaussian, trapezoidal, triangular, etc.
Thus the aim of the fuzzy logic is to propose a theoretical framework for the manipulation  representation and reasoning  of such facts.
The Fuzzy Lib library implements all the tools that are necessary to handle this manipulation: representation of a fuzzy subset (among them are the fuzzification, defuzzification and partitioning), reasoning process (generalized modus ponens, fuzzy implications, tnorms, tconorms, etc.).
This version 1 of the Fuzzy Lib enables to implement fuzzification, uncertain reasoning and defuzzification for any number of data in the framework of Max/MSP environment. 










