From 743e5427ae742d41695c9ad78402683bfafab8f0 Mon Sep 17 00:00:00 2001 From: Andrzej Preibisz Date: Tue, 31 Jan 2023 21:09:01 +0100 Subject: [PATCH] Small fix --- FuzzyControlSystem.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FuzzyControlSystem.py b/FuzzyControlSystem.py index 5779d2f..0065ac4 100644 --- a/FuzzyControlSystem.py +++ b/FuzzyControlSystem.py @@ -30,7 +30,7 @@ def getStartDecision(chipVal, lossNum): FS = FuzzySystem(show_banner=False) - FS.add_linguistic_variable("chipValue", AutoTriangle(3, terms=['low', 'average', 'high'], universe_of_discourse=[0, 10])) + FS.add_linguistic_variable("chipValue", AutoTriangle(3, terms=['low', 'average', 'high'], universe_of_discourse=[0, 21])) FS.add_linguistic_variable("numLossInRow", AutoTriangle(3, terms=['low', 'average', 'high'], universe_of_discourse=[0, 10])) O1 = TriangleFuzzySet(0,0,13, term="leave")