Update FCL

This commit is contained in:
marcin-szczepanski 2020-06-08 20:10:49 +02:00
parent e9c4fcc828
commit 0862c7a258

View File

@ -14,7 +14,7 @@ VAR_OUTPUT
END_VAR
FUZZIFY team1Form
TERM bardzo_slaba := (0, 1) (25, 0) (100, 0);
TERM bardzo_slaba := (0, 1) (20, 0) (100, 0);
TERM slaba := (0, 0) (20, 0) (25,1) (30,0) (100, 0);
TERM srednia := (0, 0) (25, 0) (40, 1) (55, 0) (100, 0);
TERM dobra := (0, 0) (50, 0) (60, 1) (70, 1) (100, 0);
@ -22,7 +22,7 @@ FUZZIFY team1Form
END_FUZZIFY
FUZZIFY team2Form
TERM bardzo_slaba := (0, 1) (25, 0) (100, 0);
TERM bardzo_slaba := (0, 1) (20, 0) (100, 0);
TERM slaba := (0, 0) (20, 0) (25,1) (30,0) (100, 0);
TERM srednia := (0, 0) (25, 0) (40, 1) (55, 0) (100, 0);
TERM dobra := (0, 0) (50, 0) (60, 1) (70, 1) (100, 0);
@ -120,8 +120,6 @@ RULEBLOCK No1
RULE 42: IF team1GoalsLostAverage IS srednio AND team2GoalsLostAverage is duzo THEN prediction is team1;
RULE 43: IF team1GoalsLostAverage IS duzo AND team2GoalsLostAverage is duzo THEN prediction is remis;
RULE 44: IF team1GoalsLostAverage IS duzo AND team2GoalsAverage is duzo THEN prediction is remis;
RULE 45: IF team1GoalsLostAverage IS duzo AND team2GoalsAverage is srednio THEN prediction is team2;
RULE 46: IF team1GoalsLostAverage IS duzo AND team2GoalsAverage is malo THEN prediction is team2;
@ -134,7 +132,6 @@ RULEBLOCK No1
RULE 51: IF team1GoalsLostAverage IS malo AND team2GoalsAverage is srednio THEN prediction is team1;
RULE 52: IF team1GoalsLostAverage IS malo AND team2GoalsAverage is malo THEN prediction is team1;
RULE 53: IF team2GoalsLostAverage IS duzo AND team1GoalsAverage is duzo THEN prediction is remis;
RULE 54: IF team2GoalsLostAverage IS duzo AND team1GoalsAverage is srednio THEN prediction is team1;
RULE 55: IF team2GoalsLostAverage IS duzo AND team1GoalsAverage is malo THEN prediction is team1;
@ -146,8 +143,6 @@ RULEBLOCK No1
RULE 59: IF team2GoalsLostAverage IS malo AND team1GoalsAverage is duzo THEN prediction is team2;
RULE 60: IF team2GoalsLostAverage IS malo AND team1GoalsAverage is srednio THEN prediction is team2;
RULE 61: IF team2GoalsLostAverage IS malo AND team1GoalsAverage is malo THEN prediction is remis;
END_RULEBLOCK
END_FUNCTION_BLOCK