[System]
Name='xor'
Type='sugeno'
NumInputs=2
NumOutputs=1
NumRules=4
AndMethod='prod'
OrMethod='probor'
ImpMethod='min'
AggMethod='max'
DefuzzMethod='wtaver'

[Input1]
Name='X'
Range=[0 1]
NumMFs=2
MF1='near 0':'zmf',[0 1 0 0]
MF2='near 1':'smf',[0 1]

[Input2]
Name='Y'
Range=[0 1]
NumMFs=2
MF1='near 0':'zmf',[0 1 0 0]
MF2='near 1':'smf',[0 1]

[Output1]
Name='class'
Range=[0 1]
NumMFs=4
MF1='zero':'linear',[0 0 0]
MF2='one':'linear',[0 0 1]
MF3='one':'linear',[0 0 1]
MF4='zero':'linear',[0 0 0]

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