diff options
Diffstat (limited to 'examples/original/tsukamoto')
-rw-r--r-- | examples/original/tsukamoto/tsukamoto.fis | 65 | ||||
-rw-r--r-- | examples/original/tsukamoto/tsukamoto.fll | 59 |
2 files changed, 124 insertions, 0 deletions
diff --git a/examples/original/tsukamoto/tsukamoto.fis b/examples/original/tsukamoto/tsukamoto.fis new file mode 100644 index 0000000..711e427 --- /dev/null +++ b/examples/original/tsukamoto/tsukamoto.fis @@ -0,0 +1,65 @@ +[System] +Name='' +Type='sugeno' +Version=4.0 +NumInputs=1 +NumOutputs=3 +NumRules=3 +AndMethod='' +OrMethod='' +ImpMethod='prod' +AggMethod='sum' +DefuzzMethod='wtaver' + +[Input1] +Enabled=1 +Name='X' +Range=[-10.000 10.000] +NumMFs=3 +MF1='small':'gbellmf',[5.000 3.000 -10.000] +MF2='medium':'gbellmf',[5.000 3.000 0.000] +MF3='large':'gbellmf',[5.000 3.000 10.000] + + +[Output1] +Enabled=1 +Name='A' +Range=[0.000 1.000] +Default=nan +LockPrevious=0 +LockRange=0 +NumMFs=3 +MF1='a1':'rampmf',[0.000 0.250] +MF2='a2':'rampmf',[0.600 0.400] +MF3='a3':'rampmf',[0.700 1.000] + +[Output2] +Enabled=1 +Name='B' +Range=[0.000 1.000] +Default=nan +LockPrevious=0 +LockRange=0 +NumMFs=3 +MF1='b1':'sigmf',[30.000 0.130] +MF2='b2':'sigmf',[-30.000 0.500] +MF3='b3':'sigmf',[30.000 0.830] + +[Output3] +Enabled=1 +Name='C' +Range=[0.000 1.000] +Default=nan +LockPrevious=0 +LockRange=0 +NumMFs=3 +MF1='c1':'smf',[0.000 0.250] +MF2='c2':'zmf',[0.300 0.600] +MF3='c3':'smf',[0.700 1.000] + + +[Rules] +1.0 , 1.0 1.0 1.0 (1) : 1 +2.0 , 2.0 2.0 2.0 (1) : 1 +3.0 , 3.0 3.0 3.0 (1) : 1 + diff --git a/examples/original/tsukamoto/tsukamoto.fll b/examples/original/tsukamoto/tsukamoto.fll new file mode 100644 index 0000000..1811b81 --- /dev/null +++ b/examples/original/tsukamoto/tsukamoto.fll @@ -0,0 +1,59 @@ +Engine: +InputVariable: X + enabled: true + range: -10.000 10.000 + term: small Bell -10.000 5.000 3.000 + term: medium Bell 0.000 5.000 3.000 + term: large Bell 10.000 5.000 3.000 +OutputVariable: Ramps + enabled: true + range: 0.000 1.000 + accumulation: none + defuzzifier: WeightedAverage + default: nan + lock-previous: false + lock-range: false + term: b Ramp 0.600 0.400 + term: a Ramp 0.000 0.250 + term: c Ramp 0.700 1.000 +OutputVariable: Sigmoids + enabled: true + range: 0.020 1.000 + accumulation: none + defuzzifier: WeightedAverage + default: nan + lock-previous: false + lock-range: false + term: b Sigmoid 0.500 -30.000 + term: a Sigmoid 0.130 30.000 + term: c Sigmoid 0.830 30.000 +OutputVariable: ZSShapes + enabled: true + range: 0.000 1.000 + accumulation: none + defuzzifier: WeightedAverage + default: nan + lock-previous: false + lock-range: false + term: b ZShape 0.300 0.600 + term: a SShape 0.000 0.250 + term: c SShape 0.700 1.000 +OutputVariable: Concaves + enabled: true + range: 0.000 1.000 + accumulation: none + defuzzifier: WeightedAverage + default: nan + lock-previous: false + lock-range: false + term: b Concave 0.500 0.400 + term: a Concave 0.240 0.250 + term: c Concave 0.900 1.000 +RuleBlock: + enabled: true + conjunction: none + disjunction: none + activation: none + rule: if X is small then Ramps is a and Sigmoids is a and ZSShapes is a and Concaves is a + rule: if X is medium then Ramps is b and Sigmoids is b and ZSShapes is b and Concaves is b + rule: if X is large then Ramps is c and Sigmoids is c and ZSShapes is c and Concaves is c
\ No newline at end of file |