GH.FIS如下
[System]
Name='gh'
Type='mamdani'
Version=2.0
NumInputs=2
NumOutputs=1
NumRules=25
AndMethod='min'
OrMethod='max'
ImpMethod='min'
AggMethod='max'
DefuzzMethod='centroid'
[Input1]
Name='e'
Range=[-6 6]
NumMFs=5
MF1='NB':'trapmf',[-6 -6 -5 -3]
MF2='NS':'trapmf',[-5 -3 -2 0]
MF3='ZR':'trimf',[-2 0 2]
MF4='PS':'trapmf',[0 2 3 5]
MF5='PB':'trapmf',[3 5 6 6]
[Input2]
Name='de'
Range=[-6 6]
NumMFs=5
MF1='NB':'trapmf',[-6 -6 -5 -3]
MF2='NS':'trapmf',[-5 -3 -2 0]
MF3='ZR':'trimf',[-2 0 2]
MF4='PS':'trapmf',[0 2 3 5]
MF5='PB':'trapmf',[3 5 6 6]
[Output1]
Name='u'
Range=[-3 3]
NumMFs=5
MF1='NS':'trimf',[-2 -0.9999 0]
MF2='ZR':'trimf',[-0.9999 0 0.9999]
MF3='PS':'trimf',[0 0.9999 2]
MF4='NB':'trapmf',[-3 -3 -2 -0.9999]
MF5='PB':'trapmf',[0.9999 2 3 3]
[Rules]
1 1, 5 (1) : 1
1 2, 5 (1) : 1
1 3, 3 (1) : 1
1 4, 3 (1) : 1
1 5, 2 (1) : 1
2 1, 5 (1) : 1
2 2, 3 (1) : 1
2 3, 3 (1) : 1
2 4, 2 (1) : 1
2 5, 2 (1) : 1
3 1, 3 (1) : 1
3 2, 3 (1) : 1
3 3, 2 (1) : 1
3 4, 2 (1) : 1
3 5, 1 (1) : 1
4 1, 3 (1) : 1
4 2, 2 (1) : 1
4 3, 2 (1) : 1
4 4, 1 (1) : 1
4 5, 1 (1) : 1
5 1, 2 (1) : 1
5 2, 2 (1) : 1
5 3, 1 (1) : 1
5 4, 1 (1) : 1
5 5, 4 (1) : 1 |