summaryrefslogtreecommitdiff
path: root/examples/takagi-sugeno/octave/cubic_approximator.fll
diff options
context:
space:
mode:
Diffstat (limited to 'examples/takagi-sugeno/octave/cubic_approximator.fll')
-rw-r--r--examples/takagi-sugeno/octave/cubic_approximator.fll10
1 files changed, 6 insertions, 4 deletions
diff --git a/examples/takagi-sugeno/octave/cubic_approximator.fll b/examples/takagi-sugeno/octave/cubic_approximator.fll
index 073e70e..22b8fa6 100644
--- a/examples/takagi-sugeno/octave/cubic_approximator.fll
+++ b/examples/takagi-sugeno/octave/cubic_approximator.fll
@@ -1,7 +1,8 @@
-Engine: Cubic-Approximator
+Engine: cubic_approximator
InputVariable: X
enabled: true
range: -5.000 5.000
+ lock-range: false
term: AboutNegFive Triangle -6.000 -5.000 -4.000
term: AboutNegFour Triangle -5.000 -4.000 -3.000
term: AboutNegThree Triangle -4.000 -3.000 -2.000
@@ -16,11 +17,11 @@ InputVariable: X
OutputVariable: ApproxXCubed
enabled: true
range: -5.000 5.000
- accumulation: none
+ lock-range: false
+ aggregation: none
defuzzifier: WeightedAverage TakagiSugeno
default: nan
lock-previous: false
- lock-range: false
term: TangentatNegFive Linear 75.000 250.000
term: TangentatNegFour Linear 48.000 128.000
term: TangentatNegThree Linear 27.000 54.000
@@ -36,7 +37,8 @@ RuleBlock:
enabled: true
conjunction: none
disjunction: none
- activation: none
+ implication: none
+ activation: General
rule: if X is AboutNegFive then ApproxXCubed is TangentatNegFive
rule: if X is AboutNegFour then ApproxXCubed is TangentatNegFour
rule: if X is AboutNegThree then ApproxXCubed is TangentatNegThree