jfuzzylite 5.0 has a bug when using multiple propositions in antecedents joined by fuzzy operators AND and OR. This bug was fixed in jfuzzylite 5.0.1, which was submitted (multiple times) to Maven, but for strange reasons has not been updated in the central repository. Until then, the library must be downloaded manually from http://www.fuzzylite.com/downloads or from the git releases.
The error in jfuzzylite 5.0 occurs as follows:
Exception in thread "main" java.lang.RuntimeException: [syntax error] logical operator expects two operands, but found <3>
at com.fuzzylite.rule.Antecedent.load(Antecedent.java:246)
at com.fuzzylite.rule.Rule.load(Rule.java:203)
at com.fuzzylite.rule.Rule.parse(Rule.java:219)
jfuzzylite 5.0 has a bug when using multiple propositions in antecedents joined by fuzzy operators AND and OR. This bug was fixed in jfuzzylite 5.0.1, which was submitted (multiple times) to Maven, but for strange reasons has not been updated in the central repository. Until then, the library must be downloaded manually from http://www.fuzzylite.com/downloads or from the git releases.
The error in jfuzzylite 5.0 occurs as follows:
Exception in thread "main" java.lang.RuntimeException: [syntax error] logical operator expects two operands, but found <3>
at com.fuzzylite.rule.Antecedent.load(Antecedent.java:246)
at com.fuzzylite.rule.Rule.load(Rule.java:203)
at com.fuzzylite.rule.Rule.parse(Rule.java:219)