summaryrefslogtreecommitdiff
path: root/examples/tsukamoto/tsukamoto.fll
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tsukamoto/tsukamoto.fll')
-rw-r--r--examples/tsukamoto/tsukamoto.fll59
1 files changed, 59 insertions, 0 deletions
diff --git a/examples/tsukamoto/tsukamoto.fll b/examples/tsukamoto/tsukamoto.fll
new file mode 100644
index 0000000..29ce437
--- /dev/null
+++ b/examples/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 Automatic
+ 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 Automatic
+ 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 Automatic
+ 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 Automatic
+ 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