diff options
Diffstat (limited to 'examples/takagi-sugeno/SimpleDimmer.fis')
-rw-r--r-- | examples/takagi-sugeno/SimpleDimmer.fis | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/examples/takagi-sugeno/SimpleDimmer.fis b/examples/takagi-sugeno/SimpleDimmer.fis new file mode 100644 index 0000000..9557f61 --- /dev/null +++ b/examples/takagi-sugeno/SimpleDimmer.fis @@ -0,0 +1,32 @@ +[System] +Name='simple-dimmer' +Type='sugeno' +NumInputs=1 +NumOutputs=1 +NumRules=3 +AndMethod='' +OrMethod='' +ImpMethod='' +AggMethod='' +DefuzzMethod='wtaver' + +[Input1] +Name='Ambient' +Range=[0.000 1.000] +NumMFs=3 +MF1='DARK':'trimf',[0.000 0.250 0.500] +MF2='MEDIUM':'trimf',[0.250 0.500 0.750] +MF3='BRIGHT':'trimf',[0.500 0.750 1.000] + +[Output1] +Name='Power' +Range=[0.000 1.000] +NumMFs=3 +MF1='LOW':'constant',[0.250] +MF2='MEDIUM':'constant',[0.500] +MF3='HIGH':'constant',[0.750] + +[Rules] +1.000 , 3.000 (1.000) : 1 +2.000 , 2.000 (1.000) : 1 +3.000 , 1.000 (1.000) : 1 |