[System]
Name='exemplo gorjeta'
Type='mamdani'
Version=2.0
NumInputs=2
NumOutputs=1
NumRules=9
AndMethod='min'
OrMethod='max'
ImpMethod='min'
AggMethod='max'
DefuzzMethod='centroid'

[Input1]
Name='Comida'
Range=[0 10]
NumMFs=3
MF1='Ruim':'trapmf',[0 0 2 4]
MF2='Normal':'trimf',[3 5 7]
MF3='Boa':'trapmf',[6 8 10 10]

[Input2]
Name='Serviço'
Range=[0 10]
NumMFs=3
MF1='Ruim':'trapmf',[-5.687 -1.377 2 4]
MF2='Médio':'trimf',[2 5 8]
MF3='Bom':'trapmf',[6 8 10 10]

[Output1]
Name='Gorgeta'
Range=[0 20]
NumMFs=3
MF1='Pequena':'trimf',[-8 0 10]
MF2='Razoável':'trimf',[2 10 18]
MF3='Grande':'trimf',[10 20 28]

[Rules]
1 1, 1 (1) : 1
2 1, 1 (1) : 1
3 1, 2 (1) : 1
1 2, 1 (1) : 1
2 2, 2 (1) : 1
3 2, 2 (1) : 1
1 3, 2 (1) : 1
2 3, 3 (1) : 1
3 3, 3 (1) : 1
