Fuzzy markup language: Difference between revisions

Content deleted Content added
m Task 70: Update syntaxhighlight tags - remove use of deprecated <source> tags
Line 66:
Every shaping tag uses a set of attributes which defines the real outline of corresponding fuzzy set. The number of these attributes depends on the chosen fuzzy set shape.
 
In order to make an example, consider the ''Tipper Inference System'' described in MathworkMathworks Matlab Fuzzy Logic Toolbox Tutorial. This Mamdani system is used to regulate the tipping in, for example, a restaurant. It has got two variables in input (''food'' and ''service'') and one in output (''tip''). FML code for modeling part of knowledge base of this fuzzy system containing variables ''food'' and ''tip'' is shown below.
 
<syntaxhighlight lang="xml">
Line 93:
</FuzzyTerm>
</FuzzyVariable>
</KnowledgeBase>
............
</FuzzyController>